diff --git a/healthcheck.sh b/healthcheck.sh index afd152fa..fea407ec 100755 --- a/healthcheck.sh +++ b/healthcheck.sh @@ -1,11 +1,11 @@ #!/bin/sh +source /app/.healthcheck.env + if [ -z "${X_AUTHELIA_HEALTHCHECK}" ]; then exit 0 fi -source /app/.healthcheck.env - if [ -z "${X_AUTHELIA_HEALTHCHECK_SCHEME}" ]; then X_AUTHELIA_HEALTHCHECK_SCHEME=http fi