Commit 7aa9e30
Changed files (1)
nginx
nginx/nginx.conf
@@ -144,10 +144,14 @@ http {
error_page 404 /404.html;
location = /404.html {
- add_header Surrogate-Key "404";
root /usr/local/www/blog;
internal;
etag off;
+ add_header Cache-Control $cachecontrol;
+ add_header Surrogate-Key "404";
+ add_header Last-Modified "";
+ add_header Content-Security-Policy "default-src 'none'; style-src 'self'; img-src 'self'; base-uri 'none'; require-trusted-types-for 'script';";
+ include client-side-security.inc;
}
}