caddy/caddyconfig/httpcaddyfile
Michael Stapelberg a1ad20e472
httpcaddyfile: Fix bind when IPv6 is specified with network (#4950)
* fix listening on IPv6 addresses: use net.JoinHostPort

Commit 1e18afb5c8 broke my caddy setup.
This commit fixes it.

* Refactor solution; simplify, add descriptive comment

* Move network to host, not copy

Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
2022-09-15 08:03:24 -06:00
..
addresses_fuzz.go core: Windows service integration (#4790) 2022-07-29 14:06:54 -06:00
addresses_test.go httpcaddyfile: Preserve IPv6 addresses through normalization (fix #4381) 2021-10-20 10:27:59 -06:00
addresses.go httpcaddyfile: Fix bind when IPv6 is specified with network (#4950) 2022-09-15 08:03:24 -06:00
builtins_test.go reverseproxy: Support performing pre-check requests (#4739) 2022-05-06 10:50:26 -04:00
builtins.go httpcaddyfile: redir with "html" emits 200, no Location (fix #4940) 2022-08-09 11:12:09 -06:00
directives_test.go tests: Clean up redundant type declarations 2020-04-10 08:48:21 -06:00
directives.go httpcaddyfile: Fix sorting of repeated directives 2022-09-13 13:43:21 -06:00
httptype_test.go caddyfile: Introduce basic linting and fmt check (#3923) 2021-01-04 11:11:36 -07:00
httptype.go httpcaddyfile: Fix sorting of repeated directives 2022-09-13 13:43:21 -06:00
options_test.go caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
options.go httpcaddyfile: Add ocsp_interval global option (#4980) 2022-08-24 11:22:56 -06:00
pkiapp.go chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
serveroptions.go core: Refactor listeners; use SO_REUSEPORT on Unix (#4705) 2022-09-02 16:59:11 -06:00
tlsapp_test.go httpcaddyfile: Revise automation policy generation (#3824) 2020-10-28 20:36:00 -06:00
tlsapp.go httpcaddyfile: Add ocsp_interval global option (#4980) 2022-08-24 11:22:56 -06:00