X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=installation%2Fnginx%2Fakkoma.nginx;fp=installation%2Fpleroma.nginx;h=7727166777d7a4754993c9868ffe6718234ddfc1;hb=c0e6f30e4d17bd69b7ddd26aa0c0f1433184128a;hp=9890cb2b1965e5550dfa8b81610c26e55aebdcbe;hpb=3d9dabd9147d2ba001d64de0ea5527bc5727dda6;p=akkoma diff --git a/installation/pleroma.nginx b/installation/nginx/akkoma.nginx similarity index 94% rename from installation/pleroma.nginx rename to installation/nginx/akkoma.nginx index 9890cb2b1..772716677 100644 --- a/installation/pleroma.nginx +++ b/installation/nginx/akkoma.nginx @@ -1,4 +1,4 @@ -# default nginx site config for Pleroma +# default nginx site config for Akkoma # # Simple installation instructions: # 1. Install your TLS certificate, possibly using Let's Encrypt. @@ -6,7 +6,7 @@ # 3. Copy this file to /etc/nginx/sites-available/ and then add a symlink to it # in /etc/nginx/sites-enabled/ and run 'nginx -s reload' or restart nginx. -proxy_cache_path /tmp/pleroma-media-cache levels=1:2 keys_zone=pleroma_media_cache:10m max_size=10g +proxy_cache_path /tmp/akkoma-media-cache levels=1:2 keys_zone=akkoma_media_cache:10m max_size=10g inactive=720m use_temp_path=off; # this is explicitly IPv4 since Pleroma.Web.Endpoint binds on IPv4 only @@ -82,7 +82,7 @@ server { } location ~ ^/(media|proxy) { - proxy_cache pleroma_media_cache; + proxy_cache akkoma_media_cache; slice 1m; proxy_cache_key $host$uri$is_args$args$slice_range; proxy_set_header Range $slice_range;