summaryrefslogtreecommitdiffhomepage
path: root/caddytest/integration/caddyfile_adapt/bind_ipv6.caddyfiletest
diff options
context:
space:
mode:
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