mirror of
https://github.com/v2board/v2board.git
synced 2025-03-12 21:54:42 +08:00
fix: 修正Loon WS+TLS时over-tls始终为false问题
This commit is contained in:
parent
2b9540f9f2
commit
f6fcfb1de2
@ -89,8 +89,7 @@ class Loon
|
||||
}
|
||||
}
|
||||
if ($server['tls']) {
|
||||
if ($server['network'] === 'tcp')
|
||||
array_push($config, 'over-tls=true');
|
||||
array_push($config, 'over-tls=true');
|
||||
if ($server['tlsSettings']) {
|
||||
$tlsSettings = $server['tlsSettings'];
|
||||
if (isset($tlsSettings['allowInsecure']) && !empty($tlsSettings['allowInsecure']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user