mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
fix: healthcheck always exit 0 (#2250)
This commit is contained in:
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
Block a user