Changes site Cache-Control header
This commit is contained in:
parent
639eeb13a3
commit
1a56e29221
@ -22,7 +22,9 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://site:3000;
|
||||
proxy_pass http://site:3000;
|
||||
proxy_hide_header Cache-Control;
|
||||
add_header Cache-Control "public,max-age=300,s-maxage=900";
|
||||
}
|
||||
|
||||
# Block Bad Bots
|
||||
|
Loading…
Reference in New Issue
Block a user