mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 18:48:14 -05:00
[fix]: Loon Hysteria2 node cannot get SNI
This commit is contained in:
parent
912cb397ea
commit
0e2d961902
@ -151,7 +151,7 @@ class Loon
|
|||||||
$server['host'],
|
$server['host'],
|
||||||
$server['port'],
|
$server['port'],
|
||||||
$password,
|
$password,
|
||||||
$server['server_name'] ? "tls={$server['server_name']}" : "(null)"
|
$server['server_name'] ? "sni={$server['server_name']}" : "(null)"
|
||||||
];
|
];
|
||||||
if ($server['insecure']) $config[] = "skip-cert-verify=true";
|
if ($server['insecure']) $config[] = "skip-cert-verify=true";
|
||||||
$config[] = "download-bandwidth=" . ($user->speed_limit ? min($server['down_mbps'], $user->speed_limit) : $server['down_mbps']);
|
$config[] = "download-bandwidth=" . ($user->speed_limit ? min($server['down_mbps'], $user->speed_limit) : $server['down_mbps']);
|
||||||
|
Loading…
Reference in New Issue
Block a user