fix: removed / in path for unity

This commit is contained in:
sujiba 2024-09-17 16:06:28 +02:00
parent 3bfbd3f7f9
commit abdfa98e96

View file

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