Skip to content
Permalink
Browse files Browse the repository at this point in the history
SECURITY: Do not cache error responses for static assets (stable)
  • Loading branch information
romanrizzi authored and OsamaSayegh committed Jul 27, 2022
1 parent f0ef186 commit 7af2554
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/nginx.sample.conf
Expand Up @@ -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;
Expand Down

0 comments on commit 7af2554

Please sign in to comment.