aboutsummaryrefslogtreecommitdiff
path: root/installation
diff options
context:
space:
mode:
authorhref <href@random.sh>2018-11-23 23:59:24 +0100
committerhref <href@random.sh>2018-11-30 18:00:57 +0100
commit97b00d366f5d0bdf80efa2c425ccc8fb16681256 (patch)
tree72391d30cecb559b40565d90048018507a3b2995 /installation
parenta2640c8088f46a16732a63978e92161c5199f396 (diff)
downloadpleroma-97b00d366f5d0bdf80efa2c425ccc8fb16681256.tar.gz
reverse_proxy: more headers
Diffstat (limited to 'installation')
-rw-r--r--installation/pleroma.nginx4
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;
}
}