From a6b31b05e9567242b062e508689187133d068498 Mon Sep 17 00:00:00 2001 From: TylonHH Date: Wed, 22 Apr 2026 21:31:17 +0200 Subject: [PATCH] Fix Docker healthcheck to use configured host header --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7243baf2..14be163e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,7 +58,7 @@ RUN chmod -R 755 /etc/php83 && \ USER apache:apache -HEALTHCHECK CMD curl -f http://localhost -A "HealthCheck" || exit 1 +HEALTHCHECK CMD curl -fsS -A "HealthCheck" -H "Host: ${HTTP_SERVER_NAME:-localhost}" http://127.0.0.1/ >/dev/null || exit 1 # Set console entry path WORKDIR /htdocs