Adding security headers for NginX
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
server {
|
||||
{% include './templates/header.conf.j2' %}
|
||||
|
||||
add_header Strict-Transport-Security "max-age=15768000" always;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header X-Robots-Tag none;
|
||||
|
Reference in New Issue
Block a user