From 437f2a887723f4ff29ede2fc48289d3815f0ded8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=96=E6=9F=92Max?= <60207794+jiuqi9997@users.noreply.github.com> Date: Wed, 9 Jun 2021 12:44:33 +0800 Subject: [PATCH] Xray-1.2.13 (#358) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [fix] 修复证书签发与续签 --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8d3d365..cfd037f 100644 --- a/install.sh +++ b/install.sh @@ -382,7 +382,8 @@ function ssl_install() { function acme() { sed -i "6s/^/#/" "$nginx_conf" - sed -i "6a\\troot $website_dir;" "$nginx_conf" + sed -i "6a\\\troot $website_dir;" "$nginx_conf" + systemctl restart nginx if "$HOME"/.acme.sh/acme.sh --issue -d "${domain}" --webroot "$website_dir" -k ec-256 --force; then print_ok "SSL 证书生成成功"