WIP: Use new HEADERS.location feature #105

Draft
stb wants to merge 3 commits from redirect-header into main
Showing only changes of commit dcf07b1ebb - Show all commits

Missed one
Some checks failed
/ Ansible Lint (pull_request) Successful in 2m29s
/ Ansible Lint (push) Successful in 2m33s
/ build (pull_request) Failing after 2m41s

Stefan Bethke 2026-06-19 12:17:07 +02:00

View file

@ -190,9 +190,9 @@ endpoints:
client:
ignore-redirect: true
conditions:
# - "[STATUS] == 302"
- "[HEADERS].location == https://c3cat.de/"
# - "[CERTIFICATE_EXPIRATION] > 48h"
- "[STATUS] == 302"
- "[HEADERS].location == pat(https://c3cat.de*)"
- "[CERTIFICATE_EXPIRATION] > 48h"
- name: www.c3dog.de
url: "https://www.c3dog.de"