diff --git a/roles/webgateway/templates/nginx.conf b/roles/webgateway/templates/nginx.conf index 590a38c..55bfbe6 100644 --- a/roles/webgateway/templates/nginx.conf +++ b/roles/webgateway/templates/nginx.conf @@ -79,11 +79,11 @@ http { {%- if proxysite.bigrequests %} client_max_body_size 8G; {%- endif %} - {-% if proxysite.ignorecert %} - proxy_ssl_verify off; - {%- endif %} location /{ proxy_pass https://{{ proxysite.ip }}; + {%- if proxysite.ignorecert %} + proxy_ssl_verify off; + {%- endif %} } location /metrics{ proxy_pass https://{{ proxysite.ip }};