mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
Use zero encryption on vmess when tls is enabled
This commit is contained in:
parent
74c025e719
commit
b9e0d91b98
@ -120,6 +120,7 @@ class Clash
|
||||
|
||||
if ($server['tls']) {
|
||||
$array['tls'] = true;
|
||||
$array['cipher'] = 'zero';
|
||||
if ($server['tlsSettings']) {
|
||||
$tlsSettings = $server['tlsSettings'];
|
||||
if (isset($tlsSettings['allowInsecure']) && !empty($tlsSettings['allowInsecure']))
|
||||
|
@ -120,6 +120,7 @@ class ClashMeta
|
||||
|
||||
if ($server['tls']) {
|
||||
$array['tls'] = true;
|
||||
$array['cipher'] = 'zero';
|
||||
if ($server['tlsSettings']) {
|
||||
$tlsSettings = $server['tlsSettings'];
|
||||
if (isset($tlsSettings['allowInsecure']) && !empty($tlsSettings['allowInsecure']))
|
||||
|
@ -74,6 +74,7 @@ class General
|
||||
"tls" => $server['tls'] ? "tls" : "",
|
||||
];
|
||||
if ($server['tls']) {
|
||||
$config['scy'] = "zero";
|
||||
if ($server['tlsSettings']) {
|
||||
$tlsSettings = $server['tlsSettings'];
|
||||
if (isset($tlsSettings['serverName']) && !empty($tlsSettings['serverName']))
|
||||
|
@ -74,6 +74,7 @@ class V2rayN
|
||||
"tls" => $server['tls'] ? "tls" : "",
|
||||
];
|
||||
if ($server['tls']) {
|
||||
$config['scy'] = "zero";
|
||||
if ($server['tlsSettings']) {
|
||||
$tlsSettings = $server['tlsSettings'];
|
||||
if (isset($tlsSettings['serverName']) && !empty($tlsSettings['serverName']))
|
||||
|
@ -62,6 +62,7 @@ class V2rayNG
|
||||
"tls" => $server['tls'] ? "tls" : "",
|
||||
];
|
||||
if ($server['tls']) {
|
||||
$config['scy'] = "zero";
|
||||
if ($server['tlsSettings']) {
|
||||
$tlsSettings = $server['tlsSettings'];
|
||||
if (isset($tlsSettings['serverName']) && !empty($tlsSettings['serverName']))
|
||||
|
Loading…
Reference in New Issue
Block a user