acme.Caddyfile: mute caddy warnings

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L.
2026-04-28 21:38:41 +02:00
parent 50643afd6a
commit 4e8292b922

View File

@@ -10,7 +10,12 @@
}
log {
level {$CADDY_LOG_LEVEL}
# The log level is hardcoded here to ERROR by design.
# We need to mute two warnings printed to the logs:
# 1. admin endpoint disabled
# 2. Warning regarding on-demand tls
# See https://github.com/nextcloud/all-in-one#securing-the-aio-interface-from-unauthorized-acme-challenges
level ERROR
# We need to exclude the remote-host plugin from logging as it would spam the logs
# See https://github.com/nextcloud/all-in-one/pull/7006#issuecomment-4003238239
exclude http.matchers.remote_host