diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-30 03:14:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-30 03:14:31 +0100 |
commit | b7379da6ccb7ff5aa8c8b5ac7763fd30d9681948 (patch) | |
tree | 64645ad64001999725ca22be3b4e52fad74520ff /dist/nginx.conf | |
parent | ac650d7a13b89666b916e011c782d34a89769689 (diff) |
Cache error 410 responses in recommended nginx configuration (#10425)
Diffstat (limited to 'dist/nginx.conf')
-rw-r--r-- | dist/nginx.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dist/nginx.conf b/dist/nginx.conf index 3d5741765..7c429bad4 100644 --- a/dist/nginx.conf +++ b/dist/nginx.conf @@ -78,6 +78,7 @@ server { proxy_cache CACHE; proxy_cache_valid 200 7d; + proxy_cache_valid 410 24h; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; add_header X-Cached $upstream_cache_status; add_header Strict-Transport-Security "max-age=31536000"; |