reverse_proxy: more headers

This commit is contained in:
href 2018-11-23 23:59:24 +01:00
commit 97b00d366f
No known key found for this signature in database
GPG key ID: EE8296C1A152C325
2 changed files with 14 additions and 12 deletions

View file

@ -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;
}
}