summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
authorEmily Lange <git@indeednotjames.com>2023-02-27 18:23:09 +0100
committerGitHub <noreply@github.com>2023-02-27 17:23:09 +0000
commit941eae5f615aeaf038f62002e673a7bf4886f1c7 (patch)
tree5bcbdac4f9f2662f7f4f44c0db05f330710ce6f6 /caddytest
parent096971e313e1a8a32433213d3f2cb81b73d02b5e (diff)
reverseproxy: allow specifying ip version for dynamic `a` upstream (#5401)
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/integration/caddyfile_adapt/reverse_proxy_dynamic_upstreams.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/caddytest/integration/caddyfile_adapt/reverse_proxy_dynamic_upstreams.txt b/caddytest/integration/caddyfile_adapt/reverse_proxy_dynamic_upstreams.txt
index 2f2cbcd..384cc05 100644
--- a/caddytest/integration/caddyfile_adapt/reverse_proxy_dynamic_upstreams.txt
+++ b/caddytest/integration/caddyfile_adapt/reverse_proxy_dynamic_upstreams.txt
@@ -11,6 +11,7 @@
resolvers 8.8.8.8 8.8.4.4
dial_timeout 2s
dial_fallback_delay 300ms
+ versions ipv6
}
}
}
@@ -66,7 +67,10 @@
"8.8.4.4"
]
},
- "source": "a"
+ "source": "a",
+ "versions": {
+ "ipv6": true
+ }
},
"handler": "reverse_proxy"
}
@@ -113,4 +117,4 @@
}
}
}
-} \ No newline at end of file
+}