mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:38:26 +08:00
SECURITY: Do not cache error responses for static assets (#17693)
This commit is contained in:
parent
47e664e3b1
commit
7b1ff41716
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user