mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
chore: update docs
This commit is contained in:
parent
39daf0be53
commit
13732ffb2c
1 changed files with 4 additions and 14 deletions
|
@ -22,20 +22,10 @@ install.sh install [OPTIONS]
|
||||||
| `-p, --proxy <url>` | 通过代理服务器下载 (`string`)<br/>例如:`-p http://127.0.0.1:8118` 或 `-p socks5://127.0.0.1:1080` |
|
| `-p, --proxy <url>` | 通过代理服务器下载 (`string`)<br/>例如:`-p http://127.0.0.1:8118` 或 `-p socks5://127.0.0.1:1080` |
|
||||||
| `-r, --reverse-proxy` | 通过反向代理服务器下载 (`string`)<br/>例如:`-r https://cloud.nginxui.com/` |
|
| `-r, --reverse-proxy` | 通过反向代理服务器下载 (`string`)<br/>例如:`-r https://cloud.nginxui.com/` |
|
||||||
|
|
||||||
### 使用反向代理加速
|
|
||||||
|
|
||||||
如果您在中国大陆,可能会遇到 GitHub 的网络问题。您可以通过以下命令设置代理服务器下载 Nginx UI,以加快下载速度。
|
|
||||||
|
|
||||||
```bash
|
|
||||||
export GH_PROXY=https://ghfast.top/
|
|
||||||
```
|
|
||||||
|
|
||||||
当以上地址不可用时,请检视 [GitHub Proxy](https://ghproxy.link/) 获得最新地址,或根据实际情况选择其他代理。
|
|
||||||
|
|
||||||
### 快速使用
|
### 快速使用
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bash -c "$(curl -L ${GH_PROXY}https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install
|
bash -c "$(curl -L https://cloud.nginxui.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install -r https://cloud.nginxui.com/
|
||||||
```
|
```
|
||||||
|
|
||||||
一键安装脚本默认设置的监听端口为 `9000`,HTTP Challenge 端口默认为 `9180`。如果有端口冲突,请手动修改 `/usr/local/etc/nginx-ui/app.ini`,
|
一键安装脚本默认设置的监听端口为 `9000`,HTTP Challenge 端口默认为 `9180`。如果有端口冲突,请手动修改 `/usr/local/etc/nginx-ui/app.ini`,
|
||||||
|
@ -65,12 +55,12 @@ install.sh remove [OPTIONS]
|
||||||
|
|
||||||
```shell [移除]
|
```shell [移除]
|
||||||
# 删除 Nginx UI,但不包括配置和数据库文件
|
# 删除 Nginx UI,但不包括配置和数据库文件
|
||||||
bash -c "$(curl -L ${GH_PROXY}https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ remove
|
bash -c "$(curl -L https://cloud.nginxui.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ remove
|
||||||
```
|
```
|
||||||
|
|
||||||
```shell [清除]
|
```shell [清除]
|
||||||
# 删除所有 Nginx UI 文件,包括配置和数据库文件
|
# 删除所有 Nginx UI 文件,包括配置和数据库文件
|
||||||
bash -c "$(curl -L ${GH_PROXY}https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ remove --purge
|
bash -c "$(curl -L https://cloud.nginxui.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ remove --purge
|
||||||
```
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
@ -90,7 +80,7 @@ install.sh help
|
||||||
### 快速使用
|
### 快速使用
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bash -c "$(curl -L -s ${GH_PROXY}https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ help
|
bash -c "$(curl -L -s https://cloud.nginxui.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ help
|
||||||
```
|
```
|
||||||
|
|
||||||
## 控制服务
|
## 控制服务
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue