This commit is contained in:
parent
f6a02be7b7
commit
c8aece5513
@ -79,6 +79,15 @@ http {
|
||||
proxy_pass http://127.0.0.1:{{ server.port }};
|
||||
{%- 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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user