chore: update install script url to fix #798

This commit is contained in:
Jacky 2025-01-23 15:40:21 +08:00
parent 6957e4fb8e
commit 3f95ae5d90
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
8 changed files with 28 additions and 28 deletions

View file

@ -27,7 +27,7 @@ install.sh install [OPTIONS]
### Quick Usage
```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) install
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) install
```
The default listening port is `9000`, and the default HTTP Challenge port is `9180`.
@ -60,12 +60,12 @@ install.sh remove [OPTIONS]
```shell [Remove]
# Remove Nginx UI, except configuration and database files
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) remove
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove
```
```shell [Purge]
# Remove all the Nginx UI file, include configuration and database files
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) remove --purge
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove --purge
```
:::
@ -85,7 +85,7 @@ install.sh help
### Quick Usage
```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) help
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) help
```
## Control Service

View file

@ -26,7 +26,7 @@ install.sh install [OPTIONS]
### 快速使用
```shell
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) install -r https://mirror.ghproxy.com/
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) install -r https://mirror.ghproxy.com/
```
一键安装脚本默认设置的监听端口为 `9000`HTTP Challenge 端口默认为 `9180`。如果有端口冲突,请手动修改 `/usr/local/etc/nginx-ui/app.ini`
@ -56,12 +56,12 @@ install.sh remove [OPTIONS]
```shell [移除]
# 删除 Nginx UI但不包括配置和数据库文件
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) remove
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove
```
```shell [清除]
# 删除所有 Nginx UI 文件,包括配置和数据库文件
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) remove --purge
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove --purge
```
:::
@ -81,7 +81,7 @@ install.sh help
### 快速使用
```shell
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) help
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) help
```
## 控制服务

View file

@ -26,7 +26,7 @@ install.sh install [OPTIONS]
### 快速使用
```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) install
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) install
```
安裝指令碼預設的監聽埠為 `9000`HTTP Challenge 埠預設為 `9180`。如果出現埠衝突請修改 `/usr/local/etc/nginx-ui/app.ini`
@ -56,12 +56,12 @@ install.sh remove [OPTIONS]
```shell [移除]
# 解除安裝 Nginx UI 但保留配置和資料庫檔案
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) remove
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove
```
```shell [清除]
# 解除安裝並刪除所有 Nginx UI 檔案,包括配置和資料庫檔案
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) remove --purge
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove --purge
```
:::
@ -81,7 +81,7 @@ install.sh help
### 快速使用
```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) help
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) help
```
## 控制服務