infrastructure/ansible/roles/forrest/files/prometheus/blackbox.yml
Jake Howard b1284877a3
Some checks failed
/ terraform (push) Successful in 30s
/ ansible (push) Failing after 1m23s
Update blackbox configuration for not following redirects
2023-11-01 22:14:35 +00:00

23 lines
476 B
YAML

modules:
http:
prober: http
timeout: 10s
http:
preferred_ip_protocol: ip4 # Docker network is v4 only
https_redir:
prober: http
timeout: 10s
http:
method: GET
valid_status_codes: [301, 302, 307, 308]
follow_redirects: false
fail_if_ssl: true
fail_if_header_not_matches:
- header: Location
regexp: ^https
preferred_ip_protocol: ip4 # Docker network is v4 only
icmp:
prober: icmp