mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 13:43:47 +03:00
904d9cab39
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 |
||
---|---|---|
.. | ||
addresses.go | ||
addresses_fuzz.go | ||
addresses_test.go | ||
builtins.go | ||
directives.go | ||
httptype.go | ||
httptype_test.go | ||
options.go | ||
tlsapp.go |