1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/caddyconfig
Frederik Ring 569ecdbd02
httpcaddyfile: Ensure hosts to skip for logs can always be collected (#4258)
* httpcaddyfile: ensure hosts to skip can always be collected

Previously, some hosts that should be skipped in logging would
be missed as the current logic would only collect them after
encountering the first server that would log. This change makes sure
the ServerLogConfig is initialized before iterating over the server
blocks.

* httpcaddyfile: add test case for skip hosts behavior
2021-08-02 14:15:27 -06:00
..
caddyfile caddyfile: keep error chain info in Dispenser.Errf (#4233) 2021-07-19 08:35:14 -06:00
httpcaddyfile httpcaddyfile: Ensure hosts to skip for logs can always be collected (#4258) 2021-08-02 14:15:27 -06:00
configadapters.go admin: Identity management, remote admin, config loaders (#3994) 2021-01-27 16:16:04 -07:00
httploader.go admin: Identity management, remote admin, config loaders (#3994) 2021-01-27 16:16:04 -07:00
load.go admin: Identity management, remote admin, config loaders (#3994) 2021-01-27 16:16:04 -07:00