diff options
author | Dominik V. Salonen <contact@quad.moe> | 2018-05-28 10:36:27 +0000 |
---|---|---|
committer | Dominik V. Salonen <contact@quad.moe> | 2018-05-28 10:36:27 +0000 |
commit | a6fd9c4b0083889d327b0954febd7bb233dfccb1 (patch) | |
tree | 04a7f66778ce278b056c4317ffd45334fed9bf41 | |
parent | 8216d5e40e31970b450524d39b634a84f6ec415c (diff) | |
download | pleroma-a6fd9c4b0083889d327b0954febd7bb233dfccb1.tar.gz pleroma-a6fd9c4b0083889d327b0954febd7bb233dfccb1.zip |
Update pleroma.nginx
proxy_ignore_client_abort will continue to fetch from upstream even if a client aborts the connection. This is highly recommended when cache is being used. If a client leaves/refreshes the page while a user's avatar or some other media is halfway loaded, the cached copy might in some cases be broken. Leaving future requests to the same URL broken until cache expires.
-rw-r--r-- | installation/pleroma.nginx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index b6ca30cc9..42323dd95 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -83,6 +83,7 @@ server { location /proxy { proxy_cache pleroma_media_cache; proxy_cache_lock on; + proxy_ignore_client_abort on; proxy_pass http://localhost:4000; } } |