Add `cache-control: no-transform` header

This commit is contained in:
Alessandro Vendruscolo 2012-07-21 17:09:33 +02:00
parent d63f139841
commit 4ee6622221
1 changed files with 3 additions and 0 deletions

View File

@ -180,6 +180,9 @@ http {
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)
location ~* (^|/)\. {
return 403;