mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-25 09:40:13 +08:00
569ecdbd02
* 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 |
||
---|---|---|
.. | ||
integration | ||
a.caddy.localhost.crt | ||
a.caddy.localhost.key | ||
caddy.ca.cer | ||
caddy.localhost.crt | ||
caddy.localhost.key | ||
caddytest_test.go | ||
caddytest.go |