summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/integration/sni_test.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/caddytest/integration/sni_test.go b/caddytest/integration/sni_test.go
index d329782..e48346d 100644
--- a/caddytest/integration/sni_test.go
+++ b/caddytest/integration/sni_test.go
@@ -57,8 +57,7 @@ func TestDefaultSNI(t *testing.T) {
"tls_connection_policies": [
{
"certificate_selection": {
- "policy": "custom",
- "tag": "cert0"
+ "any_tag": ["cert0"]
},
"match": {
"sni": [
@@ -155,8 +154,7 @@ func TestDefaultSNIWithNamedHostAndExplicitIP(t *testing.T) {
"tls_connection_policies": [
{
"certificate_selection": {
- "policy": "custom",
- "tag": "cert0"
+ "any_tag": ["cert0"]
},
"default_sni": "a.caddy.localhost",
"match": {
@@ -238,8 +236,7 @@ func TestDefaultSNIWithPortMappingOnly(t *testing.T) {
"tls_connection_policies": [
{
"certificate_selection": {
- "policy": "custom",
- "tag": "cert0"
+ "any_tag": ["cert0"]
},
"default_sni": "a.caddy.localhost"
}