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 }}";
|
||||
{% endif %}
|
||||
{% 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 %}
|
||||
server_tokens {{ item.server_tokens | default('off') }};
|
||||
|
||||
|
@ -265,7 +265,7 @@ server {
|
|||
add_header X-Frame-Options "{{ nginx_x_frame_options }}";
|
||||
{% endif %}
|
||||
{% 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 %}
|
||||
server_tokens {{ item.server_tokens | default('off') }};
|
||||
|
||||
|
|
Loading…
Reference in New Issue