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

This commit is contained in:
Roman Rizzi 2022-07-27 16:41:44 -03:00 committed by OsamaSayegh
parent f0ef186a4e
commit 7af25544c3
No known key found for this signature in database
GPG Key ID: 060E5AC82223685F

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;