mirror of
https://github.com/caddyserver/caddy.git
synced 2025-03-31 01:05:16 +08:00

Refactor redirect route creation into own function. Improve condition for appending port. Fixes a bug manifested through new test case: TestAutoHTTPRedirectsWithHTTPListenerFirstInAddresses