restrics metrics
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-05-29 19:11:16 +02:00
parent f6a02be7b7
commit c8aece5513

View File

@ -79,6 +79,15 @@ http {
proxy_pass http://127.0.0.1:{{ server.port }}; 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 %}
proxy_pass http://127.0.0.1:{{ server.port }};
{%- endif %}
allow 192.168.69.0/24;
deny all;
}
} }
{%- endfor %} {%- endfor %}