Skip to content

A platform for community discussion. Free, open, simple.

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

Roman Rizzi7b1ff41716e3
diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf
index 07dcfd9d3d4..a791d82dc2d 100644
--- a/config/nginx.sample.conf
+++ b/config/nginx.sample.conf
@@ -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;