ansible/roles/prometheus-blackbox-exporter/templates/atrocious_nginx_stub

14 lines
366 B
Text
Raw Normal View History

2021-10-07 22:53:28 +02:00
{{ ansible_managed | comment }}
server {
listen {{ lan_address }}:9115 ssl;
ssl_certificate /etc/prometheus/blackbox-{{ lan_address }}.crt;
ssl_certificate_key /etc/prometheus/blackbox-{{ lan_address }}.key;
ssl_client_certificate /etc/prometheus/ca.crt;
ssl_verify_client on;
location / {
proxy_pass http://127.0.0.1:9115;
}
}