Post ARFU7O5ENvWxWfeO2K by 4censord@mstdn.social
(DIR) More posts by 4censord@mstdn.social
(DIR) Post #ARFIKZivDfHBwSjmeu by lamp@mastodong.lol
2023-01-02T21:55:30Z
1 likes, 1 repeats
levels thing does not seem to work...
(DIR) Post #ARFItpRokWTeqRXzUW by captain_arepa@ck.cachapa.xyz
2023-01-02T22:01:52.619Z
0 likes, 0 repeats
@lamp@mastodong.lol wait until you start messing with the cache zones, lmao :kekw:
(DIR) Post #ARFJ3kKIe2szrDlAem by lamp@mastodong.lol
2023-01-02T22:03:42Z
0 likes, 0 repeats
@captain_arepa i just have one cache zone and it seems like a simple concept, what's up with them?
(DIR) Post #ARFJ9ZsqNs1BCthM7U by captain_arepa@ck.cachapa.xyz
2023-01-02T22:04:46.766Z
0 likes, 0 repeats
@lamp@mastodong.lol Just remembered I had a traumatic experience while setting up proxies and needed to fiddle with the cache zones, lmao :kek_pain:
(DIR) Post #ARFJD28rmBzPiYqAnw by lamp@mastodong.lol
2023-01-02T22:05:20Z
0 likes, 0 repeats
@captain_arepa how many u had?
(DIR) Post #ARFJGx0QoWd2wllMtU by captain_arepa@ck.cachapa.xyz
2023-01-02T22:06:05.761Z
0 likes, 0 repeats
@lamp@mastodong.lol At the time, 4... Now I'm back to 1 :kekw:
(DIR) Post #ARFKrReyQ98YOhgxoO by 4censord@mstdn.social
2023-01-02T22:23:52Z
0 likes, 0 repeats
@lamp why are you using nginx for caching, am not something specialised like varnish?Or is it doing more than just caching?
(DIR) Post #ARFL5cPnEKHRoALkga by lamp@mastodong.lol
2023-01-02T22:26:27Z
0 likes, 0 repeats
@captain_arepa needed different settings for different sites? well, what happened? is there a bug?
(DIR) Post #ARFMBE1cvJlLr9He0u by lamp@mastodong.lol
2023-01-02T22:38:40Z
0 likes, 0 repeats
@4censord cause that's what's covered by doc https://docs.joinmastodon.org/admin/optional/object-storage-proxy/ and it does a good job at it, no? how would varnish be better?
(DIR) Post #ARFOqDXtoKTE9O3LxQ by captain_arepa@ck.cachapa.xyz
2023-01-02T23:08:31.167Z
0 likes, 0 repeats
@lamp@mastodong.lol Yeah, different settings for different sites... nginx simply gave me the finger with some error conflict wachamacallit. It was long ago when I worked on backend, now I simply just use the same for everything and it werks :02_shrug:
(DIR) Post #ARFU7O5ENvWxWfeO2K by 4censord@mstdn.social
2023-01-03T00:07:36Z
0 likes, 0 repeats
@lamp It might not be "better", but I find it easier to configure.Also, its made explicitly for HTTP caching, instead of nginx that is more like "we can also do caching".Having read the doc now, it might be even better to use something that is s3 aware like minio for media caching
(DIR) Post #ARFUamtvC0g8tVNb0K by lamp@mastodong.lol
2023-01-03T00:12:56Z
0 likes, 0 repeats
@4censord welp ive never used varnish but have used nginx and this config looks clean enough