Use correct check for HTTP to HTTPS redirects #104

Open
opened 2026-06-19 09:37:50 +02:00 by stb · 0 comments
Owner

Right now, the checks in resources/external/status/docker_compose/config/websites.yaml duplicate the checks for the websites the redirect is going to. This is error prone and checks the redirect only indirectly.

Change the checks so the actual redirect is verified. There is a parameter ignore-redirect (see Issue #126, but it's not clear from the documentation:

  • Where this config option needs to be set
  • How to check the value of the Location:HTTP header
Right now, the checks in resources/external/status/docker_compose/config/websites.yaml duplicate the checks for the websites the redirect is going to. This is error prone and checks the redirect only indirectly. Change the checks so the actual redirect is verified. There is a parameter `ignore-redirect` (see [Issue #126](https://github.com/TwiN/gatus/issues/126), but it's not clear from the documentation: * Where this config option needs to be set * How to check the value of the `Location:`HTTP header
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
CCCHH/ansible-infra#104
No description provided.