forked from ISTI-ansible-roles/ansible-roles
generic-smartgears-virtualhost: Fix a wrong if statement.
This commit is contained in:
parent
f3b2334f03
commit
4b798d98e1
|
@ -70,7 +70,6 @@ server {
|
|||
{% if context != '' %}
|
||||
location /{{ context }} {
|
||||
{% if varnish_install is defined and varnish_install %}
|
||||
{% if varnish_listen_port is defined %}
|
||||
{% if smartgears_nginx_cors_enabled %}
|
||||
include /etc/nginx/snippets/nginx-cors.conf;
|
||||
{% if nginx_cors_extended_rules %}
|
||||
|
@ -93,7 +92,6 @@ server {
|
|||
proxy_pass http://127.0.0.1:{{ item.http_port }}/{{ context }};
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
@ -214,7 +212,6 @@ server {
|
|||
{% if context != '' %}
|
||||
location /{{ context }} {
|
||||
{% if varnish_install is defined and varnish_install %}
|
||||
{% if varnish_listen_port is defined %}
|
||||
{% if smartgears_nginx_cors_enabled %}
|
||||
include /etc/nginx/snippets/nginx-cors.conf;
|
||||
{% if nginx_cors_extended_rules %}
|
||||
|
@ -237,7 +234,6 @@ server {
|
|||
proxy_pass http://127.0.0.1:{{ item.http_port }}/{{ context }};
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue