From c7a4dfce1ad0b545b05a8043e321ad49e48873a6 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 17 Jun 2026 18:37:49 +0200 Subject: Refactor pi roles to use .home.arpa subdomains for services --- roles/prometheus/templates/prometheus.nginx.conf.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 roles/prometheus/templates/prometheus.nginx.conf.j2 (limited to 'roles/prometheus/templates') diff --git a/roles/prometheus/templates/prometheus.nginx.conf.j2 b/roles/prometheus/templates/prometheus.nginx.conf.j2 new file mode 100644 index 00000000..5ae9c20c --- /dev/null +++ b/roles/prometheus/templates/prometheus.nginx.conf.j2 @@ -0,0 +1,10 @@ +server { + listen 80; + listen [::]:80; + + server_name {{ prometheus_hostname }}; + + location / { + proxy_pass http://127.0.0.1:{{ prometheus_port }}/; + } +} -- cgit v1.2.3