X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=installation%2Fpleroma.nginx;h=e1184fe775df61791899e0af276ee09063408946;hb=4b90c7cc9dfd0bacfe3de72c800d5be57d1e5536;hp=f0e684f2c8430077cc870a64f2768a9bb7ce384f;hpb=54923c2e55e2d241b53a62a4abbd2501abdcae32;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; } }