1
0
Fork 0
mirror of https://github.com/bastienwirtz/homer.git synced 2026-01-22 18:06:11 +00:00

fix(docker): disable log for healthcheck requests

This commit is contained in:
Bastien Wirtz 2025-03-17 21:47:21 +01:00
parent 1b607b6357
commit c812bda08f

View file

@ -12,3 +12,7 @@ server.follow-symlink = "enable"
server.feature-flags += ( "server.clock-jump-restart" => 0 )
server.max-request-field-size = 65535
accesslog.filename = "/dev/fd/3"
# Avoid logging docker healthcheck request
$HTTP["remote-ip"] == "127.0.0.1" { accesslog.filename = "" }
$HTTP["remote-ip"] == "[::1]" { accesslog.filename = "" }