1
0
mirror of https://github.com/0rangebananaspy/authelia.git synced 2024-09-14 22:47:21 +07:00

fix: healthcheck always exit 0 ()

This commit is contained in:
James Elliott 2021-08-05 21:44:49 +10:00 committed by GitHub
parent 80adbf095e
commit c789955a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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