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 %}