1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/caddyconfig
Matthew Holt 904d9cab39
httpcaddyfile: Include non-standard ports when mapping logger names
If a site block has a key like "http://localhost:2016", then the log for
that site must be mapped to "localhost:2016" and not just "localhost"
because "localhost:2016" will be the value of the Host header of requests.
But a key like "localhost:80" does not include the port since the Host
header will not include ":80" because it is a standard port.

Fixes https://caddy.community/t/v2-common-log-format-not-working/7352?u=matt
2020-03-30 18:39:21 -06:00
..
caddyfile caddyfile: Minor fixes to the formatter 2020-03-29 13:53:00 -06:00
httpcaddyfile httpcaddyfile: Include non-standard ports when mapping logger names 2020-03-30 18:39:21 -06:00
configadapters.go caddyconfig: register adapters as Caddy modules (#3132) 2020-03-21 16:49:10 -06:00
load.go caddyconfig: register adapters as Caddy modules (#3132) 2020-03-21 16:49:10 -06:00