Skip to content
Snippets Groups Projects
Unverified Commit b7379da6 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Cache error 410 responses in recommended nginx configuration (#10425)

parent ac650d7a
No related branches found
No related tags found
No related merge requests found
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment