fix: healthcheck always exit 0 (#2250)
parent
80adbf095e
commit
c789955a88
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
source /app/.healthcheck.env
|
||||||
|
|
||||||
if [ -z "${X_AUTHELIA_HEALTHCHECK}" ]; then
|
if [ -z "${X_AUTHELIA_HEALTHCHECK}" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source /app/.healthcheck.env
|
|
||||||
|
|
||||||
if [ -z "${X_AUTHELIA_HEALTHCHECK_SCHEME}" ]; then
|
if [ -z "${X_AUTHELIA_HEALTHCHECK_SCHEME}" ]; then
|
||||||
X_AUTHELIA_HEALTHCHECK_SCHEME=http
|
X_AUTHELIA_HEALTHCHECK_SCHEME=http
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue