Changes site Cache-Control header
parent
639eeb13a3
commit
1a56e29221
|
@ -22,7 +22,9 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
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
|
# Block Bad Bots
|
||||||
|
|
Loading…
Reference in New Issue