mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
c5c6bda8b0
This makes the healthcheck simple and configured directly by Authelia's configuration on startup.
17 lines
388 B
Go
17 lines
388 B
Go
package server
|
|
|
|
const embeddedAssets = "public_html/"
|
|
const swaggerAssets = embeddedAssets + "api/"
|
|
const apiFile = "openapi.yml"
|
|
const indexFile = "index.html"
|
|
|
|
const dev = "dev"
|
|
|
|
const healthCheckEnv = `# Written by Authelia Process
|
|
X_AUTHELIA_HEALTHCHECK=1
|
|
X_AUTHELIA_HEALTHCHECK_SCHEME=%s
|
|
X_AUTHELIA_HEALTHCHECK_HOST=%s
|
|
X_AUTHELIA_HEALTHCHECK_PORT=%d
|
|
X_AUTHELIA_HEALTHCHECK_PATH=%s
|
|
`
|