forked from ISTI-ansible-roles/ansible-roles
Fix a duplicate entry.
This commit is contained in:
parent
b7ca1b5c22
commit
da08066eb5
|
@ -72,8 +72,6 @@ server {
|
||||||
client_body_timeout {{ nginx_client_body_timeout }};
|
client_body_timeout {{ nginx_client_body_timeout }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
server_tokens {{ item.server_tokens | default('off') }};
|
|
||||||
|
|
||||||
{% if nginx_cors_enabled %}
|
{% if nginx_cors_enabled %}
|
||||||
{% if nginx_cors_global %}
|
{% if nginx_cors_global %}
|
||||||
include /etc/nginx/snippets/nginx-cors.conf;
|
include /etc/nginx/snippets/nginx-cors.conf;
|
||||||
|
@ -211,10 +209,10 @@ server {
|
||||||
client_body_timeout {{ nginx_client_body_timeout }};
|
client_body_timeout {{ nginx_client_body_timeout }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
server_tokens {{ item.server_tokens | default('off') }};
|
|
||||||
|
|
||||||
include /etc/nginx/snippets/nginx-server-ssl.conf;
|
include /etc/nginx/snippets/nginx-server-ssl.conf;
|
||||||
|
|
||||||
|
server_tokens {{ item.server_tokens | default('off') }};
|
||||||
|
|
||||||
{% if nginx_cors_enabled %}
|
{% if nginx_cors_enabled %}
|
||||||
{% if nginx_cors_global %}
|
{% if nginx_cors_global %}
|
||||||
include /etc/nginx/snippets/nginx-cors.conf;
|
include /etc/nginx/snippets/nginx-cors.conf;
|
||||||
|
|
Loading…
Reference in New Issue