fix the shit

This commit is contained in:
Torma Kristóf 2022-05-29 20:17:30 +02:00
parent c8aece5513
commit 1417856dd6

View File

@ -73,24 +73,24 @@ http {
client_max_body_size 8G;
{%- endif %}
location /{
{%- if server.https %}
{% if server.https %}
proxy_pass https://127.0.0.1:{{ server.port }};
{%- else %}
{% else %}
proxy_pass http://127.0.0.1:{{ server.port }};
{%- endif %}
{% endif %}
}
location /metrics{
{%- if server.https %}
proxy_pass https://127.0.0.1:{{ server.port }};
{%- else %}
{% else %}
proxy_pass http://127.0.0.1:{{ server.port }};
{%- endif %}
{% endif %}
allow 192.168.69.0/24;
deny all;
}
}
{%- endfor %}
{% endfor %}
server {
listen 8888;