This commit is contained in:
@ -88,6 +88,17 @@ http {
|
||||
allow 192.168.69.0/24;
|
||||
deny all;
|
||||
}
|
||||
{%- if server.additionallocations is defined %}
|
||||
{%- for location in server.additionallocations %}
|
||||
location {{location.location}}{
|
||||
{% if location.https %}
|
||||
proxy_pass https://127.0.0.1:{{ location.port }};
|
||||
{% else %}
|
||||
proxy_pass http://127.0.0.1:{{ location.port }};
|
||||
{% endif %}
|
||||
}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
}
|
||||
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user