From 603f906d37c781e829d77bb61de437a2c8d81ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Torma?= Date: Sun, 5 Mar 2023 23:13:49 +0100 Subject: [PATCH] it helps if the jinja is valid --- roles/webgateway/templates/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }};