Changes site Cache-Control header

This commit is contained in:
Abhinav Sarkar 2020-06-01 11:25:13 +05:30
parent 639eeb13a3
commit 1a56e29221

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