From e5503646d3dcaa3ec1c1a83e56f08f31012520b1 Mon Sep 17 00:00:00 2001 From: Thomas G Stokes Date: Thu, 29 Feb 2024 18:28:35 +0100 Subject: [PATCH] b1873: Fix status message --- .../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 31e81999d0f..1692197ca04 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 "failover at play: force healthy" + outputMessage "Healthy" else status "500 Reverse proxy itself is unhealthy" outputMessage "Reverse proxy is unhealthy"