diff --git a/images/drupal-operations-scripts/probe-site.sh b/images/drupal-operations-scripts/probe-site.sh
index 48333610d53fd00fb89f1dc273e79ec6e041424d..8434e06ab0b1196e5b0e842bd49219403956985e 100644
--- a/images/drupal-operations-scripts/probe-site.sh
+++ b/images/drupal-operations-scripts/probe-site.sh
@@ -33,7 +33,7 @@
 # 302: redirection (NOTE: not sure if there's a legitimate case to expect this)
 # 403: fully private websites give this response
 # 503: high load
-if [[ "${HTTP_CODE_BASE}" -ne "200" && "${HTTP_CODE_BASE}" -ne "302" && "${HTTP_CODE_BASE}" -ne "403" && "${HTTP_CODE_BASE}" -ne "503" ]]; then
+if [[ "${HTTP_CODE_BASE}" -eq "500" || "${HTTP_CODE_BASE}" -eq "503" ]]; then
     echo "Probe failed" >> $FILE
     echo "Probe failed. Endpoint / responds with code: $HTTP_CODE_BASE"
     exit 1