Merge branch 'fix-nginx-caching' into 'develop'

Fix nginx caching issues

See merge request pleroma/pleroma!654
This commit is contained in:
kaniini 2019-01-14 07:25:08 +00:00
commit c445c9e125

View File

@ -79,8 +79,10 @@ server {
proxy_cache_valid 200 206 301 304 1h;
proxy_cache_lock on;
proxy_ignore_client_abort on;
proxy_buffering off;
proxy_buffering on;
chunked_transfer_encoding on;
proxy_ignore_headers Cache-Control;
proxy_hide_header Cache-Control;
proxy_pass http://localhost:4000;
}
}