xoxys.nginx/templates/etc/nginx/conf.d/header.conf.j2

6 lines
200 B
Django/Jinja

# {{ ansible_managed }}
add_header Strict-Transport-Security max-age=63072000;
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";