chore: replace ghproxy.com with mirror.ghproxy.com

This commit is contained in:
0xJacky 2023-12-21 11:01:41 +08:00
parent 5a19133254
commit 626196a239
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
20 changed files with 31 additions and 31 deletions

View file

@ -73,7 +73,7 @@ CADir needs to comply with the `RFC 8555` standard.
## GithubProxy
- Type: `string`
- Suggestion: `https://ghproxy.com/`
- Suggestion: `https://mirror.ghproxy.com/`
For users who may experience difficulties downloading resources from Github (such as in mainland China), this option
allows them to set a proxy for github.com to improve accessibility.

View file

@ -21,7 +21,7 @@ install.sh install [OPTIONS]
|-----------------------|-----------------------------------------------------------------------------------------------------------------|
| `-l, --local <file>` | Install Nginx UI from a local file (`string`) |
| `-p, --proxy <url>` | Download through a proxy server (`string`)<br/>e.g., `-p http://127.0.0.1:8118` or `-p socks5://127.0.0.1:1080` |
| `-r, --reverse-proxy` | Download through a reverse proxy server (`string`)<br/>e.g., `-r https://ghproxy.com/` |
| `-r, --reverse-proxy` | Download through a reverse proxy server (`string`)<br/>e.g., `-r https://mirror.ghproxy.com/` |
### Quick Usage

View file

@ -66,6 +66,6 @@ Nginx UI 服务器监听端口。此选项用于配置 Nginx UI 服务器监听
## GithubProxy
- 类型:`string`
- 建议:`https://ghproxy.com/`
- 建议:`https://mirror.ghproxy.com/`
对于可能在从 Github 下载资源时遇到困难的用户(如在中国大陆),此选项允许他们为 github.com 设置代理,以提高可访问性。

View file

@ -20,13 +20,13 @@ install.sh install [OPTIONS]
|-----------------------|---------------------------------------------------------------------------------------|
| `-l, --local <file>` | 从本地文件安装 Nginx UI (`string`) |
| `-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://ghproxy.com/` |
| `-r, --reverse-proxy` | 通过反向代理服务器下载 (`string`)<br/>例如:`-r https://mirror.ghproxy.com/` |
### 快速使用
```shell
bash <(curl -L -s https://ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) install -r https://ghproxy.com/
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/master/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://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/master/install.sh) remove
```
```shell [清除]
# 删除所有 Nginx UI 文件,包括配置和数据库文件
bash <(curl -L -s https://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/master/install.sh) remove --purge
```
:::
@ -81,7 +81,7 @@ install.sh help
### 快速使用
```shell
bash <(curl -L -s https://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/master/install.sh) help
```
## 控制服务

View file

@ -66,6 +66,6 @@ Nginx UI 監聽埠。此選項用於配置 Nginx UI 伺服器監聽傳入 HTTP
## GithubProxy
- 型別:`string`
- 建議:`https://ghproxy.com/`
- 建議:`https://mirror.ghproxy.com/`
對於可能在從 Github 下載資源時遇到困難的使用者(如在中國大陸),此選項允許他們為 github.com 設定代理,以提高可訪問性。

View file

@ -20,7 +20,7 @@ install.sh install [OPTIONS]
|-----------------------|---------------------------------------------------------------------------------------|
| `-l, --local <file>` | 從本地檔案安裝 Nginx UI (`string`) |
| `-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://ghproxy.com/` |
| `-r, --reverse-proxy` | 透過反向代理伺服器下載 (`string`)<br/>例如:`-r https://mirror.ghproxy.com/` |
### 快速使用