From 172af72761bc27534db43232c7fab0488f3259d7 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Fri, 12 Jun 2020 14:37:17 +0800 Subject: [PATCH] update trojan server --- app/Services/ServerService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/ServerService.php b/app/Services/ServerService.php index ae928ae1..a5b581b8 100644 --- a/app/Services/ServerService.php +++ b/app/Services/ServerService.php @@ -119,8 +119,8 @@ class ServerService $json = json_decode(self::TROJAN_CONFIG); $json->ssl->sni = $server->host; - $json->ssl->cert = "/home/{$server->host}.crt"; - $json->ssl->key = "/home/{$server->host}.key"; + $json->ssl->cert = "/root/.cert/{$server->host}.crt"; + $json->ssl->key = "/root/.cert/{$server->host}.key"; $json->api->api_port = $localPort; return $json; }