Merge branch 'master' of git.dryusdan.fr:Ansible/nginx

This commit is contained in:
Dryusdan 2021-10-22 19:58:04 +02:00
commit 1908cb6a46
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,11 @@
more_clear_headers x-powered-by;
more_clear_headers server;
more_clear_headers referrer-policy;
more_clear_headers x-xss-protection;
more_clear_headers referrer-policy;
more_clear_headers x-content-type-options;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Permissions-Policy interest-cohort=();
more_clear_headers x-powered-by;
more_clear_headers server;

View File

@ -1,4 +1,4 @@
{% if errorpage is defined and errorpage is False %}
{% if item.remove_error_pages is not defined %}
error_page 401 /401.html;
location = /401.html {
root /var/www/html/errors/;