server/nginx/mime

This commit is contained in:
Marc Beninca 2019-08-07 16:06:20 +02:00
parent 3ac1b8dddf
commit 5dcf03ebb2

View file

@ -390,6 +390,7 @@ Security
listen [::]:443 ssl http2; listen [::]:443 ssl http2;
add_header Content-Security-Policy "default-src 'self'"; add_header Content-Security-Policy "default-src 'self'";
add_header Strict-Transport-Security "max-age=31557600; includeSubDomains; preload" always; add_header Strict-Transport-Security "max-age=31557600; includeSubDomains; preload" always;
add_header X-Content-Type-Options "nosniff";
add_header X-Frame-Options "SAMEORIGIN"; add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";