acmdns(host): expose and monitor health endpoint
All checks were successful
/ Ansible Lint (push) Successful in 2m8s

This commit is contained in:
June 2026-02-01 23:14:15 +01:00
commit 17ba7c04f2
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
2 changed files with 11 additions and 0 deletions

View file

@ -77,6 +77,10 @@ server {
proxy_pass http://127.0.0.1:8080/update; proxy_pass http://127.0.0.1:8080/update;
} }
location = /health { # no auth by proxy required
proxy_pass http://127.0.0.1:8080/health;
}
location @oauth2_signin { location @oauth2_signin {
return 302 /oauth2/sign_in?rd=$scheme://$host$request_uri; return 302 /oauth2/sign_in?rd=$scheme://$host$request_uri;
} }

View file

@ -19,6 +19,13 @@ endpoints:
- "[CERTIFICATE_EXPIRATION] > 48h" - "[CERTIFICATE_EXPIRATION] > 48h"
- "[BODY] == pat(*OAuth2 Proxy*)" - "[BODY] == pat(*OAuth2 Proxy*)"
- name: ACME DNS (health endpoint)
url: "https://acmedns.hamburg.ccc.de/health"
<<: *services_chaosknoten_defaults
conditions:
- "[STATUS] == 200"
- "[CERTIFICATE_EXPIRATION] > 48h"
- name: ACME DNS (update endpoint) - name: ACME DNS (update endpoint)
url: "https://acmedns.hamburg.ccc.de/update" url: "https://acmedns.hamburg.ccc.de/update"
<<: *services_chaosknoten_defaults <<: *services_chaosknoten_defaults