X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=installation%2Fpleroma.nginx;h=e1184fe775df61791899e0af276ee09063408946;hb=f85949cc696685496a8e4e17aebeb81168ede41a;hp=f0e684f2c8430077cc870a64f2768a9bb7ce384f;hpb=e4bd5a6950d08eddbbc12ddd3f2e91c43544238c;p=akkoma diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index f0e684f2c..e1184fe77 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -70,10 +70,12 @@ server { client_max_body_size 16m; } - location /proxy { + location ~ ^/(media|proxy) { proxy_cache pleroma_media_cache; proxy_cache_lock on; proxy_ignore_client_abort on; + proxy_buffering off; + chunked_transfer_encoding on; proxy_pass http://localhost:4000; } }