mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38: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['port'],
|
||||
$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";
|
||||
$config[] = "download-bandwidth=" . ($user->speed_limit ? min($server['down_mbps'], $user->speed_limit) : $server['down_mbps']);
|
||||
|
Loading…
Reference in New Issue
Block a user