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:
parent
1b607b6357
commit
c812bda08f
1 changed files with 4 additions and 0 deletions
|
|
@ -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 = "" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue