summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/encode/encode.go
diff options
context:
space:
mode:
authorMatt Holt <mholt@users.noreply.github.com>2020-06-26 12:01:50 -0600
committerGitHub <noreply@github.com>2020-06-26 12:01:50 -0600
commit21c00a3cd2f702b32e80dbef2987ac2250a2c9a5 (patch)
treecf5b4ca03d1a194faa62091fe0d6252e073b6269 /modules/caddyhttp/encode/encode.go
parent61b7002d262ab748e3db7cc705c8290447fb5b34 (diff)
caddyhttp: Better host matching for logger names (fix #3488) (#3522)
First try an exact lookup like before, but if it fails, strip the port and try again. example.com:1234 should still use a logger keyed for example.com if there is no key example.com:1234.
Diffstat (limited to 'modules/caddyhttp/encode/encode.go')
0 files changed, 0 insertions, 0 deletions