vmalert: Allow configuring http.pathPrefix
*vmalert* requires explicit configuration when it is behind a reverse proxy.btop
parent
fe87edea21
commit
ce3e88932d
|
@ -7,3 +7,4 @@ vmalert_external_alert_source: >-
|
||||||
{% raw -%}
|
{% raw -%}
|
||||||
explore?orgId=1&left=%5B"now-1h","now","metrics",%7B"expr":"{{$expr|queryEscape}}"%7D%5D
|
explore?orgId=1&left=%5B"now-1h","now","metrics",%7B"expr":"{{$expr|queryEscape}}"%7D%5D
|
||||||
{%- endraw %}
|
{%- endraw %}
|
||||||
|
vmalert_http_path_prefix: /vmalert/
|
||||||
|
|
|
@ -16,3 +16,6 @@ external_url={{ vmalert_external_url }}
|
||||||
{% if vmalert_external_alert_source|d %}
|
{% if vmalert_external_alert_source|d %}
|
||||||
external_alert_source={{ vmalert_external_alert_source }}
|
external_alert_source={{ vmalert_external_alert_source }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if vmalert_http_path_prefix|d %}
|
||||||
|
http_pathPrefix={{ vmalert_http_path_prefix }}
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue