diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-06-17 18:37:49 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-06-17 18:42:02 +0200 |
| commit | c7a4dfce1ad0b545b05a8043e321ad49e48873a6 (patch) | |
| tree | fe8a0bfc1bc31dc93a8138cce179df2416875bf4 /roles/prometheus/templates | |
| parent | d9dcfdd822f90eb65117523d7c15694fae952bd2 (diff) | |
Refactor pi roles to use .home.arpa subdomains for services
Diffstat (limited to 'roles/prometheus/templates')
| -rw-r--r-- | roles/prometheus/templates/prometheus.nginx.conf.j2 | 10 |
1 files changed, 10 insertions, 0 deletions
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 }}/; + } +} |
