From e712af805613b8e0083aaff7f363a5372fa88ab3 Mon Sep 17 00:00:00 2001 From: NewName Date: Tue, 19 Mar 2024 21:29:38 +0800 Subject: [PATCH] Update hysteria.sh --- hy2/hysteria.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hy2/hysteria.sh b/hy2/hysteria.sh index 0768322..26057e5 100644 --- a/hy2/hysteria.sh +++ b/hy2/hysteria.sh @@ -133,7 +133,9 @@ inst_cert(){ yellow "私钥key文件路径如下: /root/private.key" hy_domain=$domain - chmod 755 /root/private.key + chmod 700 /root/private.key + chmod 755 /root/cert.crt + fi else red "当前域名解析的IP与当前VPS使用的真实IP不匹配"