Skip to content

Commit

Permalink
Turn off automatically selected TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
hecheng337 authored and 1715173329 committed Dec 21, 2021
1 parent 040c5cb commit f12fc3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ local Xray = {
-- 底层传输配置
streamSettings = {
network = server.transport or "tcp",
security = (server.xtls == '1') and "xtls" or (server.tls == '1'or server.transport == "grpc") and "tls" or nil,
security = (server.xtls == '1') and "xtls" or (server.tls == '1') and "tls" or nil,
tlsSettings = (server.tls == '1' and (server.insecure == "1" or server.tls_host or server.fingerprint)) and {
-- tls
fingerprint = server.fingerprint,
Expand Down

0 comments on commit f12fc3a

Please sign in to comment.