Add self sign cert support

This commit is contained in:
世界 committed 2022-09-23 17:13:18 +08:00
1 parent 852829b9dc
commit abe3dc6039
3 files changed
+72 -10

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ package option
type InboundTLSOptions struct {
Enabled bool `json:"enabled,omitempty"`
ServerName string `json:"server_name,omitempty"`
Insecure bool `json:"insecure,omitempty"`
ALPN Listable[string] `json:"alpn,omitempty"`
MinVersion string `json:"min_version,omitempty"`
MaxVersion string `json:"max_version,omitempty"`