summaryrefslogtreecommitdiff
path: root/caddytest/integration/caddyfile_adapt
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2022-02-19 17:36:36 -0500
committerGitHub <noreply@github.com>2022-02-19 15:36:36 -0700
commit186fdba916a128fc2a837852d2ab04ac2efba413 (patch)
treec08c2a684b31ba32fcbb4ff1f81fdbcfaab1e2bb /caddytest/integration/caddyfile_adapt
parent7778912d4eb51b5ae2c7af584c42fc85e1e09f2c (diff)
caddyhttp: Move HTTP redirect listener to an optional module (#4585)
Diffstat (limited to 'caddytest/integration/caddyfile_adapt')
-rw-r--r--caddytest/integration/caddyfile_adapt/global_server_options_single.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/global_server_options_single.txt b/caddytest/integration/caddyfile_adapt/global_server_options_single.txt
index fb0af2c..da3e6bc 100644
--- a/caddytest/integration/caddyfile_adapt/global_server_options_single.txt
+++ b/caddytest/integration/caddyfile_adapt/global_server_options_single.txt
@@ -1,6 +1,7 @@
{
servers {
listener_wrappers {
+ http_redirect
tls
}
timeouts {
@@ -33,6 +34,9 @@ foo.com {
],
"listener_wrappers": [
{
+ "wrapper": "http_redirect"
+ },
+ {
"wrapper": "tls"
}
],