Do not quote the domains in the security options.
This commit is contained in:
parent
71a7fc437a
commit
a8ece37a3a
|
@ -51,7 +51,7 @@ server {
|
||||||
add_header X-Frame-Options "{{ nginx_x_frame_options }}";
|
add_header X-Frame-Options "{{ nginx_x_frame_options }}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if nginx_set_content_security_options %}
|
{% if nginx_set_content_security_options %}
|
||||||
add_header Content-Security-Policy "frame-ancestors {% for l in nginx_content_security_acl %} '{{ l }}'{% endfor %};";
|
add_header Content-Security-Policy "frame-ancestors {% for l in nginx_content_security_acl %} {{ l }}{% endfor %};";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
server_tokens {{ item.server_tokens | default('off') }};
|
server_tokens {{ item.server_tokens | default('off') }};
|
||||||
|
|
||||||
|
@ -265,7 +265,7 @@ server {
|
||||||
add_header X-Frame-Options "{{ nginx_x_frame_options }}";
|
add_header X-Frame-Options "{{ nginx_x_frame_options }}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if nginx_set_content_security_options %}
|
{% if nginx_set_content_security_options %}
|
||||||
add_header Content-Security-Policy "frame-ancestors {% for l in nginx_content_security_acl %} '{{ l }}'{% endfor %};";
|
add_header Content-Security-Policy "frame-ancestors {% for l in nginx_content_security_acl %} {{ l }}{% endfor %};";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
server_tokens {{ item.server_tokens | default('off') }};
|
server_tokens {{ item.server_tokens | default('off') }};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue