diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-03-30 18:39:21 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-03-30 18:39:21 -0600 |
commit | 904d9cab390007610a65f648d05314f5826c3979 (patch) | |
tree | 68cc3dbf030ec17f1ee205b20253495ddd519ba8 /modules/caddyhttp/reverseproxy | |
parent | ac65f690ae9dee3ab6d3c634cffd0b41252cb343 (diff) |
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
Diffstat (limited to 'modules/caddyhttp/reverseproxy')
0 files changed, 0 insertions, 0 deletions