diff options
author | kaniini <nenolod@gmail.com> | 2019-01-14 07:25:08 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2019-01-14 07:25:08 +0000 |
commit | c445c9e1255c978c9c0ace0828c4dcdd36e777b9 (patch) | |
tree | f362f1ded22e5f14fa4095d0f5c1dd93c1de122e /installation | |
parent | 15f69b43a1c2c4f481c0760c3ea58dbdcf9ff31d (diff) | |
parent | cc3a83a7306262d9334b8cfb30ac99c024523d54 (diff) | |
download | pleroma-c445c9e1255c978c9c0ace0828c4dcdd36e777b9.tar.gz pleroma-c445c9e1255c978c9c0ace0828c4dcdd36e777b9.zip |
Merge branch 'fix-nginx-caching' into 'develop'
Fix nginx caching issues
See merge request pleroma/pleroma!654
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 46b84fb50..a24bb0e61 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -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; } } |