Add `cache-control: no-transform` header
This commit is contained in:
parent
d63f139841
commit
4ee6622221
|
@ -180,6 +180,9 @@ http {
|
||||||
add_header "Access-Control-Allow-Origin" "*";
|
add_header "Access-Control-Allow-Origin" "*";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Prevent mobile network providers from modifying your site
|
||||||
|
# add_header "Cache-Control" "no-transform";
|
||||||
|
|
||||||
# Prevent clients from accessing hidden files (starting with a dot)
|
# Prevent clients from accessing hidden files (starting with a dot)
|
||||||
location ~* (^|/)\. {
|
location ~* (^|/)\. {
|
||||||
return 403;
|
return 403;
|
||||||
|
|
Loading…
Reference in New Issue