server/nginx/mime
This commit is contained in:
parent
3ac1b8dddf
commit
5dcf03ebb2
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue