ansible/roles/prometheus/templates/atrocious_nginx_stub

14 lines
370 B
Text
Raw Normal View History

{{ ansible_managed | comment }}
server {
listen {{ lan_address }}:9090 ssl;
ssl_certificate /etc/prometheus/prometheus-{{ lan_address }}.crt;
ssl_certificate_key /etc/prometheus/prometheus-{{ lan_address }}.key;
ssl_client_certificate /etc/prometheus/ca.crt;
ssl_verify_client on;
location / {
2021-10-06 13:24:58 +02:00
proxy_pass http://127.0.0.1:9090;
}
}