From e401c5a87247afc1f8791222806cbd85460a418a Mon Sep 17 00:00:00 2001 From: Erope Date: Thu, 13 May 2021 20:19:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E5=AE=9AREADME=E4=B8=ADsh=E4=B8=BAbas?= =?UTF-8?q?h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 27476de..897931f 100644 --- a/README.md +++ b/README.md @@ -21,14 +21,14 @@ **推荐配置:** 安装前准备 _两个域名_,一个可以 **接入 CDN** 作为 _公开访问_,比如 (status.nai.ba);另外一个解析到面板服务器作为 Agent 连接 Dashboard 使用,**不能接入 CDN** 直接暴露面板主机 IP,比如(randomdashboard.nai.ba)。 ```shell -curl -sSL https://raw.githubusercontent.com/naiba/nezha/master/script/fetch.sh | sh +curl -sSL https://raw.githubusercontent.com/naiba/nezha/master/script/fetch.sh | bash /opt/nezha/nezha.sh ``` 国内镜像加速: ```shell -curl -sSL https://cdn.jsdelivr.net/gh/naiba/nezha@master/script/fetch.sh | CN=true sh +curl -sSL https://cdn.jsdelivr.net/gh/naiba/nezha@master/script/fetch.sh | CN=true bash CN=true /opt/nezha/nezha.sh ```