mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
SECURITY: Do not cache error responses for static assets (#17693)
This commit is contained in:
parent
47e664e3b1
commit
7b1ff41716
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue