From 45893b5d1e5c69b1519051b24a46425b519f31a0 Mon Sep 17 00:00:00 2001 From: Haruue Date: Sat, 24 Aug 2024 13:40:42 +0800 Subject: [PATCH] test: update server_test for sniGuard --- app/cmd/server_test.go | 5 +++-- app/cmd/server_test.yaml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/cmd/server_test.go b/app/cmd/server_test.go index bb2d12a..f35edfb 100644 --- a/app/cmd/server_test.go +++ b/app/cmd/server_test.go @@ -26,8 +26,9 @@ func TestServerConfig(t *testing.T) { }, }, TLS: &serverConfigTLS{ - Cert: "some.crt", - Key: "some.key", + Cert: "some.crt", + Key: "some.key", + SNIGuard: "strict", }, ACME: &serverConfigACME{ Domains: []string{ diff --git a/app/cmd/server_test.yaml b/app/cmd/server_test.yaml index ff0bf52..b7d1a3e 100644 --- a/app/cmd/server_test.yaml +++ b/app/cmd/server_test.yaml @@ -8,6 +8,7 @@ obfs: tls: cert: some.crt key: some.key + sniGuard: strict acme: domains: