diff options
author | href <href@random.sh> | 2018-11-23 23:59:24 +0100 |
---|---|---|
committer | href <href@random.sh> | 2018-11-30 18:00:57 +0100 |
commit | 97b00d366f5d0bdf80efa2c425ccc8fb16681256 (patch) | |
tree | 72391d30cecb559b40565d90048018507a3b2995 /installation | |
parent | a2640c8088f46a16732a63978e92161c5199f396 (diff) | |
download | pleroma-97b00d366f5d0bdf80efa2c425ccc8fb16681256.tar.gz |
reverse_proxy: more headers
Diffstat (limited to 'installation')
-rw-r--r-- | installation/pleroma.nginx | 4 |
1 files changed, 3 insertions, 1 deletions
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; } } |