Refactor redirect route creation into own function. Improve condition for appending port. Fixes a bug manifested through new test case: TestAutoHTTPRedirectsWithHTTPListenerFirstInAddresses |
||
|---|---|---|
| .. | ||
| caddyfile_adapt | ||
| testdata | ||
| autohttps_test.go | ||
| caddyfile_adapt_test.go | ||
| caddyfile_test.go | ||
| handler_test.go | ||
| map_test.go | ||
| reverseproxy_test.go | ||
| sni_test.go | ||
| stream_test.go | ||