From 247c3c2221c7cd4d6d496f174d10daa5e4503804 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 2 Dec 2022 18:54:43 +0100 Subject: [PATCH] Removed not used complexity --- .../templates/proxy_pass.conf.j2 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/roles/native-docker-reverse-proxy/templates/proxy_pass.conf.j2 b/roles/native-docker-reverse-proxy/templates/proxy_pass.conf.j2 index 2ccd96bb..542b25b6 100644 --- a/roles/native-docker-reverse-proxy/templates/proxy_pass.conf.j2 +++ b/roles/native-docker-reverse-proxy/templates/proxy_pass.conf.j2 @@ -1,10 +1,6 @@ location / { - {% if https_port is defined %} - proxy_pass https://127.0.0.1:{{https_port}}/; - {% else %} - proxy_pass http://127.0.0.1:{{http_port}}/; - {% endif %} + proxy_pass http://127.0.0.1:{{http_port}}/; # headers proxy_set_header Host $host;