mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-08 13:29:56 +00:00
test: update server_test for sniGuard
This commit is contained in:
parent
57a48a674b
commit
45893b5d1e
@ -26,8 +26,9 @@ func TestServerConfig(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
TLS: &serverConfigTLS{
|
TLS: &serverConfigTLS{
|
||||||
Cert: "some.crt",
|
Cert: "some.crt",
|
||||||
Key: "some.key",
|
Key: "some.key",
|
||||||
|
SNIGuard: "strict",
|
||||||
},
|
},
|
||||||
ACME: &serverConfigACME{
|
ACME: &serverConfigACME{
|
||||||
Domains: []string{
|
Domains: []string{
|
||||||
|
@ -8,6 +8,7 @@ obfs:
|
|||||||
tls:
|
tls:
|
||||||
cert: some.crt
|
cert: some.crt
|
||||||
key: some.key
|
key: some.key
|
||||||
|
sniGuard: strict
|
||||||
|
|
||||||
acme:
|
acme:
|
||||||
domains:
|
domains:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user