summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/matchers.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-12-10 14:36:46 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-12-10 14:36:46 -0700
commit63bda6a0dc97e02d32865c31b5e46d2ead86ac7b (patch)
tree0b7124517527cf6487ba65d685f1960c081d2d1f /modules/caddyhttp/matchers.go
parentb8a799df9f58cf3ccc2577a37c2b561d2a3e72bd (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 'modules/caddyhttp/matchers.go')
0 files changed, 0 insertions, 0 deletions