mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
f1ecc5b82a
This change points the Docker containers healthcheck to the dedicated `/api/health` endpoint and also includes support for Authelia running with a path prefix.
11 lines
190 B
Go
11 lines
190 B
Go
package handlers
|
|
|
|
import (
|
|
"github.com/authelia/authelia/internal/middlewares"
|
|
)
|
|
|
|
// HealthGet can be used by health checks.
|
|
func HealthGet(ctx *middlewares.AutheliaCtx) {
|
|
ctx.ReplyOK()
|
|
}
|