summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
authorMatt Holt <mholt@users.noreply.github.com>2022-08-15 12:01:58 -0600
committerGitHub <noreply@github.com>2022-08-15 12:01:58 -0600
commitc79c08627d36e9871dedd3c7d8889d7d710134c2 (patch)
tree886449e2ce6a2cf39c60f58f2e4d420b5e3a8f1b /caddytest
parente2a5e2293ab0b06e33445a1243f36cd5def1de42 (diff)
caddyhttp: Enable HTTP/3 by default (#4707)
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/integration/caddyfile_adapt/global_server_options_single.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/caddytest/integration/caddyfile_adapt/global_server_options_single.txt b/caddytest/integration/caddyfile_adapt/global_server_options_single.txt
index da3e6bc..cfe6bfd 100644
--- a/caddytest/integration/caddyfile_adapt/global_server_options_single.txt
+++ b/caddytest/integration/caddyfile_adapt/global_server_options_single.txt
@@ -12,11 +12,8 @@
}
max_header_size 100MB
log_credentials
- protocol {
- allow_h2c
- experimental_http3
- strict_sni_host
- }
+ strict_sni_host
+ protocols h1 h2 h2c h3
}
}
@@ -61,8 +58,12 @@ foo.com {
"logs": {
"should_log_credentials": true
},
- "experimental_http3": true,
- "allow_h2c": true
+ "protocols": [
+ "h1",
+ "h2",
+ "h2c",
+ "h3"
+ ]
}
}
}