Changes site Cache-Control header

master
Abhinav Sarkar 2020-06-01 11:25:13 +05:30
parent 639eeb13a3
commit 1a56e29221
1 changed files with 3 additions and 1 deletions

View File

@ -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