From 6a0fd11c6bd782a42b0b90d2f2365859a7953bb7 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 18 Jun 2026 16:30:12 +0200 Subject: Implement support for conditional proxy (nginx or caddy) --- roles/prometheus/templates/prometheus.caddy.j2 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 roles/prometheus/templates/prometheus.caddy.j2 (limited to 'roles/prometheus/templates') diff --git a/roles/prometheus/templates/prometheus.caddy.j2 b/roles/prometheus/templates/prometheus.caddy.j2 new file mode 100644 index 00000000..c346da59 --- /dev/null +++ b/roles/prometheus/templates/prometheus.caddy.j2 @@ -0,0 +1,3 @@ +{{ prometheus_hostname }} { + reverse_proxy localhost:{{ prometheus_port }} +} -- cgit v1.2.3