diff --git a/templates/nginx.conf b/templates/nginx.conf index 2856218..c21c35e 100644 --- a/templates/nginx.conf +++ b/templates/nginx.conf @@ -78,7 +78,7 @@ server { # Response cache for unauthenticated users proxy_cache lemmy_cache_{{domain}}; - proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504; + proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; proxy_cache_valid 1m; proxy_no_cache $cookie_jwt; add_header x-cache-status $upstream_cache_status; @@ -101,7 +101,7 @@ server { # Response cache for unauthenticated users proxy_cache lemmy_cache_{{domain}}; - proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504; + proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; proxy_cache_valid 1m; proxy_no_cache $arg_auth $cookie_jwt; add_header x-cache-status $upstream_cache_status;