naming reverted to avoid anticipated issues. should be updated at a late moment.

This commit is contained in:
antilopa 2021-09-30 12:25:32 +02:00 committed by muppeth
parent 1c7f5cd698
commit d86b39070b
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ server {
{% else %}
add_header X-Frame-Options "{{ item.header_xframe | default("SAMEORIGIN");
{% endif %}
{% if item.header_nginx_HSTS_policy is defined and item.header_nginx_HSTS_policy == 'none' %}
{% if item.nginx_HSTS_policy is defined and item.nginx_HSTS_policy == 'none' %}
{% else %}
add_header Strict-Transport-Security "max-age={{ nginx_hsts_age }}; includeSubDomains; preload;" always;
{% endif %}