Add support for custom proxy config

This commit is contained in:
Daniel Berteaud 2023-10-30 11:53:37 +01:00
parent 890a7ff46e
commit b6af9b54d3

View File

@ -65,6 +65,9 @@ server {
proxy_pass [[ .prometheus.metrics_url ]];
}
}
[[ if has .prometheus "additional_proxy_conf" ]]
[[ .prometheus.additional_proxy_conf ]]
[[- end ]]
_EOT
destination = "local/default.conf"
}