diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-12-10 14:36:46 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-12-10 14:36:46 -0700 |
commit | 63bda6a0dc97e02d32865c31b5e46d2ead86ac7b (patch) | |
tree | 0b7124517527cf6487ba65d685f1960c081d2d1f /caddyconfig/httpcaddyfile/options.go | |
parent | b8a799df9f58cf3ccc2577a37c2b561d2a3e72bd (diff) |
caddyhttp: Clean up internal auto-HTTPS redirect code
Refactor redirect route creation into own function.
Improve condition for appending port.
Fixes a bug manifested through new test case:
TestAutoHTTPRedirectsWithHTTPListenerFirstInAddresses
Diffstat (limited to 'caddyconfig/httpcaddyfile/options.go')
0 files changed, 0 insertions, 0 deletions