r/v-m-nginx: Proxy for other services too
The *metricspi* hosts several Victoria Metrics-adjacent applications. These each expose their own HTTP interface that can be used for debugging or introspecting state. To make these accessible on the network, the *victoria-metrics-nginx* role now configures `proxy_pass` directives for them in its nginx configuration.
This commit is contained in:
@@ -7,4 +7,10 @@ server {
|
||||
proxy_pass http://[::1]:8428/;
|
||||
client_max_body_size 100m;
|
||||
}
|
||||
{% for item in vm_nginx_proxy_paths %}
|
||||
|
||||
location {{ item.path }} {
|
||||
proxy_pass {{ item.url }};
|
||||
}
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user