Selaa lähdekoodia

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.
tags/v0.9.9
Dominik V. Salonen 6 vuotta sitten
vanhempi
commit
a6fd9c4b00
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. +1
    -0
      installation/pleroma.nginx

+ 1
- 0
installation/pleroma.nginx Näytä tiedosto

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

Loading…
Peruuta
Tallenna