Fix a duplicate entry.

This commit is contained in:
Andrea Dell'Amico 2018-07-05 16:23:15 +02:00
parent b7ca1b5c22
commit da08066eb5
1 changed files with 2 additions and 4 deletions

View File

@ -72,8 +72,6 @@ server {
client_body_timeout {{ nginx_client_body_timeout }};
{% endif %}
server_tokens {{ item.server_tokens | default('off') }};
{% if nginx_cors_enabled %}
{% if nginx_cors_global %}
include /etc/nginx/snippets/nginx-cors.conf;
@ -211,10 +209,10 @@ server {
client_body_timeout {{ nginx_client_body_timeout }};
{% endif %}
server_tokens {{ item.server_tokens | default('off') }};
include /etc/nginx/snippets/nginx-server-ssl.conf;
server_tokens {{ item.server_tokens | default('off') }};
{% if nginx_cors_enabled %}
{% if nginx_cors_global %}
include /etc/nginx/snippets/nginx-cors.conf;