aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddytest/integration/caddyfile_adapt/bind_ipv6.caddyfiletest
diff options
context:
space:
mode:
authorFrancis Lavoie <[email protected]>2024-02-20 19:37:40 -0500
committerGitHub <[email protected]>2024-02-21 00:37:40 +0000
commit4512be49a9fa55270e9afa632be9ff6c9560c455 (patch)
tree4c07c48b246a219e8151e9cd5efc09d7d8bd97a3 /caddytest/integration/caddyfile_adapt/bind_ipv6.caddyfiletest
parentf8143a3af15fb1042dc95791969105eb5b3e9cb2 (diff)
downloadcaddy-4512be49a9fa55270e9afa632be9ff6c9560c455.tar.gz
caddy-4512be49a9fa55270e9afa632be9ff6c9560c455.zip
caddytest: Rename adapt tests to `*.caddyfiletest` extension (#6119)
Diffstat (limited to 'caddytest/integration/caddyfile_adapt/bind_ipv6.caddyfiletest')
-rw-r--r--caddytest/integration/caddyfile_adapt/bind_ipv6.caddyfiletest29
1 files changed, 29 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/bind_ipv6.caddyfiletest b/caddytest/integration/caddyfile_adapt/bind_ipv6.caddyfiletest
new file mode 100644
index 000000000..d9d9bec6b
--- /dev/null
+++ b/caddytest/integration/caddyfile_adapt/bind_ipv6.caddyfiletest
@@ -0,0 +1,29 @@
+example.com {
+ bind tcp6/[::]
+}
+----------
+{
+ "apps": {
+ "http": {
+ "servers": {
+ "srv0": {
+ "listen": [
+ "tcp6/[::]:443"
+ ],
+ "routes": [
+ {
+ "match": [
+ {
+ "host": [
+ "example.com"
+ ]
+ }
+ ],
+ "terminal": true
+ }
+ ]
+ }
+ }
+ }
+ }
+} \ No newline at end of file