SECURITY: Do not cache error responses for static assets (#17693)

This commit is contained in:
Roman Rizzi 2022-07-27 16:41:44 -03:00 committed by GitHub
parent 47e664e3b1
commit 7b1ff41716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,6 @@ server {
proxy_cache one;
proxy_cache_key "$scheme,$host,$request_uri";
proxy_cache_valid 200 301 302 7d;
proxy_cache_valid any 1m;
proxy_cache_bypass $bypass_cache;
proxy_pass http://discourse;
break;