SURFscz / SRAM-deploy

Deploy scripts for the SCZ
Apache License 2.0
5 stars 5 forks source link

HAproxy doesn't detect that SBS is not running if the nginx stays up #415

Closed baszoetekouw closed 1 year ago

baszoetekouw commented 1 year ago

Haproxy currently checks the root on the SBS backend. However, the root keep being available if SBS itself (wsgi) is down. It should check /health instead.

It is probably easiest to also add /health on meta.sram.nl, rather than making the check endpoint configurable.

mrvanes commented 1 year ago

Ik ben uiteindelijk toch voor een config optie gegaan, ivm de andere http backends in VM die ook geen /health endpoint hebben.

baszoetekouw commented 1 year ago

getest op acc