Restrict access to caddy admin api
This commit is contained in:
parent
4a853065db
commit
83749c4493
4 changed files with 11 additions and 8 deletions
|
@ -39,7 +39,7 @@ prometheus.scrape "node_exporter" {
|
|||
prometheus.scrape "caddy" {
|
||||
targets = [
|
||||
{% for host_data in opentofu.hosts.values() %}
|
||||
{"__address__" = "{{ host_data.fqdn_vpn }}:2019", "instance" = "{{ host_data.hostname }}"},
|
||||
{"__address__" = "{{ host_data.fqdn_vpn }}", "instance" = "{{ host_data.hostname }}"},
|
||||
{% endfor %}
|
||||
]
|
||||
forward_to = [prometheus.remote_write.mimir.receiver]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue