From 812a1ebbfe44ab5a17f3a730c86cc285726e41e4 Mon Sep 17 00:00:00 2001 From: Thomas Stokes Date: Thu, 14 Mar 2024 18:46:45 +0100 Subject: [PATCH] Revert "b1873: Fix status message" This reverts commit e5503646d3dcaa3ec1c1a83e56f08f31012520b1. --- .../files/var/www/cgi-bin/reverseProxyHealthcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/environments_scripts/reverse_proxy/files/var/www/cgi-bin/reverseProxyHealthcheck.sh b/configuration/environments_scripts/reverse_proxy/files/var/www/cgi-bin/reverseProxyHealthcheck.sh index 1692197ca04..31e81999d0f 100755 --- a/configuration/environments_scripts/reverse_proxy/files/var/www/cgi-bin/reverseProxyHealthcheck.sh +++ b/configuration/environments_scripts/reverse_proxy/files/var/www/cgi-bin/reverseProxyHealthcheck.sh @@ -18,7 +18,7 @@ SELF_IP=$( ec2-metadata --local-ipv4 | grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+\.[0- curl --silent --location --fail "http://${SELF_IP}/internal-server-status" >/dev/null if [[ "$?" -eq 0 ]]; then status "200" - outputMessage "Healthy" + outputMessage "failover at play: force healthy" else status "500 Reverse proxy itself is unhealthy" outputMessage "Reverse proxy is unhealthy"