Files
system-config/playbooks/roles/gitea-lb/templates
Clark Boylan 790fa8bfc2 Have haproxy check gitea's health status endpoint
Previously we ran a HEAD against / and any 2XX or 3XX response would
indicate the server was up. Our new image builds coincide with gitea
server restarts and we've discovered that image builds are getting 503
errors requesting git repo data but presumably HEAD / is returning a 2XX
during this restart period. Make the health check more robust by
checking the actual healthz endpoint which checks the server status
internally instead. This should hopefully keep servers out of rotation
when they are not ready for requests.

Change-Id: I2c6c23027713ebe81d5e07e641759fd77ad01bb9
2025-07-23 09:29:29 -07:00
..