fix: healthcheck always exit 0 (#2250)
parent
80adbf095e
commit
c789955a88
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue