From abdfa98e96290183733fb0ec7664751490617cc6 Mon Sep 17 00:00:00 2001 From: sujiba Date: Tue, 17 Sep 2024 16:06:28 +0200 Subject: [PATCH] fix: removed / in path for unity --- templates/reverse_proxy.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/reverse_proxy.conf.j2 b/templates/reverse_proxy.conf.j2 index 199906e..7104047 100644 --- a/templates/reverse_proxy.conf.j2 +++ b/templates/reverse_proxy.conf.j2 @@ -61,7 +61,7 @@ server { {% endif %} location {% if item.location_name is defined %}{{ item.location_name }}{% else %}/{% endif %} { {% if item.protocol is defined %} - proxy_pass {{ item.protocol }}://{{ item.ip }}:{{ item.port }}{% if item.path is defined %}/{{ item.path }}{% endif %}; + proxy_pass {{ item.protocol }}://{{ item.ip }}:{{ item.port }}{% if item.path is defined %}{{ item.path }}{% endif %}; include proxy_params; {% endif %} {% if item.websocket is defined and item.websocket %}