Fix the xss syntax.
This commit is contained in:
parent
4ec5bddf14
commit
b110431218
templates
|
@ -45,7 +45,7 @@ server {
|
|||
{% endif %}
|
||||
|
||||
{% if nginx_set_xss_protection %}
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header X-XSS-Protection "1; mode=block;";
|
||||
{% endif %}
|
||||
{% if nginx_set_frame_origin %}
|
||||
add_header X-Frame-Options "{{ nginx_x_frame_options }}";
|
||||
|
@ -259,7 +259,7 @@ server {
|
|||
include /etc/nginx/snippets/nginx-server-ssl.conf;
|
||||
|
||||
{% if nginx_set_xss_protection %}
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header X-XSS-Protection "1; mode=block;";
|
||||
{% endif %}
|
||||
{% if nginx_set_frame_origin %}
|
||||
add_header X-Frame-Options "{{ nginx_x_frame_options }}";
|
||||
|
|
Loading…
Reference in New Issue