diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2020-06-26 12:01:50 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-26 12:01:50 -0600 |
commit | 21c00a3cd2f702b32e80dbef2987ac2250a2c9a5 (patch) | |
tree | cf5b4ca03d1a194faa62091fe0d6252e073b6269 /modules/caddyhttp/map/map.go | |
parent | 61b7002d262ab748e3db7cc705c8290447fb5b34 (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/map/map.go')
0 files changed, 0 insertions, 0 deletions