caddy/caddyconfig/httpcaddyfile
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
..
addresses_fuzz.go ci: fuzz: switch engine from libfuzzer to native go-fuzz (#3194) 2020-03-26 18:20:34 -06:00
addresses_test.go v2: Implement 'pki' app powered by Smallstep for localhost certificates (#3125) 2020-03-13 11:06:08 -06:00
addresses.go httpcaddyfile: 'bind' properly parses unix sockets (fixes #2999) 2020-03-19 09:43:17 -06:00
builtins.go httpcaddyfile: Allow php_fastcgi to be used in route directive 2020-03-23 09:28:29 -06:00
directives.go httpcaddyfile: Put root directive first, before redir and rewrite 2020-03-28 19:07:51 -06:00
httptype_test.go httpcaddyfile: error for wrong arg count of admin opt (#3126) (#3131) 2020-03-10 08:25:26 -06:00
httptype.go httpcaddyfile: Include non-standard ports when mapping logger names 2020-03-30 18:39:21 -06:00
options.go httpcaddyfile: Many tls-related improvements including on-demand support 2020-03-17 21:00:45 -06:00
tlsapp.go httpcaddyfile: Include non-standard ports when mapping logger names 2020-03-30 18:39:21 -06:00