Different health checks for regular- and backup-server

Hello togehter,

I am a searching a way to do separated health checks for the “regular” backend-servers and for the backup-server.
Background: we are actually do health check for a special file and the resulting status code. This file isn’t available in the backup-web. To not check the backup-server is our actual interim solution, but it’s better to know, that the backup-web is up and running in emergency case :wink:

thanks and best regards
Markus

You have to use a dummy backend for the different health check and refer to that by using the track keyword.

Thanks for your response.
After some little problems (proxy-directive was unclear, but the backend-name is meant), it works like a charm :slight_smile:

thanks and best regards,
Markus

1 Like