mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +08:00
update trojan server
This commit is contained in:
parent
2414ad5d96
commit
172af72761
@ -119,8 +119,8 @@ class ServerService
|
|||||||
|
|
||||||
$json = json_decode(self::TROJAN_CONFIG);
|
$json = json_decode(self::TROJAN_CONFIG);
|
||||||
$json->ssl->sni = $server->host;
|
$json->ssl->sni = $server->host;
|
||||||
$json->ssl->cert = "/home/{$server->host}.crt";
|
$json->ssl->cert = "/root/.cert/{$server->host}.crt";
|
||||||
$json->ssl->key = "/home/{$server->host}.key";
|
$json->ssl->key = "/root/.cert/{$server->host}.key";
|
||||||
$json->api->api_port = $localPort;
|
$json->api->api_port = $localPort;
|
||||||
return $json;
|
return $json;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user