chore: update docs for install script and internationalization

This commit is contained in:
Hintay 2025-02-03 01:10:31 +09:00
parent 4e6b2daf0d
commit 0cd0761e33
No known key found for this signature in database
GPG key ID: 120FC7FF121F2F2D
11 changed files with 51 additions and 35 deletions

View file

@ -246,7 +246,7 @@ go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/sett
**Instalar and Actualizar** **Instalar and Actualizar**
```shell ```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) install bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install
``` ```
El puerto de escucha predeterminado es `9000` y el puerto de Desafío HTTP predeterminado es `9180`. El puerto de escucha predeterminado es `9000` y el puerto de Desafío HTTP predeterminado es `9180`.
Si hay un conflicto de puertos, modifique manualmente `/usr/local/etc/nginx-ui/app.ini`, Si hay un conflicto de puertos, modifique manualmente `/usr/local/etc/nginx-ui/app.ini`,
@ -255,13 +255,13 @@ luego use `systemctl restart nginx-ui` para recargar el servicio de UI de Nginx.
**Eliminar UI Nginx UI, excepto los archivos de configuración y la base de datos** **Eliminar UI Nginx UI, excepto los archivos de configuración y la base de datos**
```shell ```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ remove
``` ```
### Uso avanzado ### Uso avanzado
````shell ````shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) help bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ help
```` ````
## Ejemplo de configuración de proxy reverso de Nginx ## Ejemplo de configuración de proxy reverso de Nginx

View file

@ -300,7 +300,7 @@ go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/sett
**Cài đặt và nâng cấp** **Cài đặt và nâng cấp**
```shell ```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) install bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install
``` ```
Port mặc định để truy cập UI là `9000`, port HTTP Challenge mặc định để xác thực SSL là `9180`. Port mặc định để truy cập UI là `9000`, port HTTP Challenge mặc định để xác thực SSL là `9180`.
Nếu có xung đột port, vui lòng sửa đổi trong file `/usr/local/etc/nginx-ui/app.ini`, Nếu có xung đột port, vui lòng sửa đổi trong file `/usr/local/etc/nginx-ui/app.ini`,
@ -309,19 +309,19 @@ hãy nhớ restart nginx-ui bằng lệnh `systemctl restart nginx-ui` mỗi khi
**Gỡ bỏ Nginx UI nhưng giữ lại các tệp cấu hình và cơ sở dữ liệu** **Gỡ bỏ Nginx UI nhưng giữ lại các tệp cấu hình và cơ sở dữ liệu**
```shell ```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ remove
``` ```
**Gỡ bỏ Nginx UI đồng thời xoá các tệp cấu hình, cơ sở dữ liệu** **Gỡ bỏ Nginx UI đồng thời xoá các tệp cấu hình, cơ sở dữ liệu**
```shell ```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove --purge bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ remove --purge
``` ```
### Trợ giúp ### Trợ giúp
````shell ````shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) help bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ help
```` ````
## Ví dụ về cấu hình Nginx Reverse Proxy ## Ví dụ về cấu hình Nginx Reverse Proxy

View file

@ -240,20 +240,20 @@ go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/sett
**安装或升级** **安装或升级**
```shell ```shell
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) install -r https://mirror.ghproxy.com/ bash -c "$(curl -L 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` 修改,并使用 `systemctl restart nginx-ui` 重启 Nginx UI 服务。 一键安装脚本默认设置的监听端口为 `9000`HTTP Challenge 端口默认为 `9180`,如果出现端口冲突请进入 `/usr/local/etc/nginx-ui/app.ini` 修改,并使用 `systemctl restart nginx-ui` 重启 Nginx UI 服务。
**卸载 Nginx UI 但保留配置和数据库文件** **卸载 Nginx UI 但保留配置和数据库文件**
```shell ```shell
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove bash -c "$(curl -L https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ remove
``` ```
### 更多用法 ### 更多用法
````shell ````shell
bash <(curl -L -s https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) help bash -c "$(curl -L https://mirror.ghproxy.com/https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ help
```` ````
## Nginx 反向代理配置示例 ## Nginx 反向代理配置示例

View file

@ -245,7 +245,7 @@ go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/sett
**安裝或升級** **安裝或升級**
```shell ```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) install bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install
``` ```
一鍵安裝指令預設的監聽連接埠為 `9000`HTTP Challenge 埠預設為 `9180`,如果出現連接埠衝突請修改 `/usr/local/etc/nginx-ui/app.ini`,並使用 `systemctl restart nginx-ui` 重啟 Nginx UI 守護行程。 一鍵安裝指令預設的監聽連接埠為 `9000`HTTP Challenge 埠預設為 `9180`,如果出現連接埠衝突請修改 `/usr/local/etc/nginx-ui/app.ini`,並使用 `systemctl restart nginx-ui` 重啟 Nginx UI 守護行程。
@ -253,13 +253,13 @@ bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/instal
**解除安裝 Nginx UI 但保留設定和資料庫檔案** **解除安裝 Nginx UI 但保留設定和資料庫檔案**
```shell ```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ remove
``` ```
### 更多用法 ### 更多用法
````shell ````shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) help bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ help
```` ````
## Nginx 反向代理設定範例 ## Nginx 反向代理設定範例

View file

@ -102,11 +102,15 @@ URL[https://demo.nginxui.com](https://demo.nginxui.com)
### Internationalization ### Internationalization
We proudly offer official support for:
- English - English
- Simplified Chinese - Simplified Chinese
- Traditional Chinese - Traditional Chinese
We welcome translations into any language. As non-native English speakers, we strive for accuracy, but we know theres always room for improvement. If you spot any issues, wed love your feedback!
Thanks to our amazing community, additional languages are also available! Explore and contribute to translations on [Weblate](https://weblate.nginxui.com).
### Built With ### Built With
@ -302,7 +306,7 @@ go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/sett
**Install and Upgrade** **Install and Upgrade**
```shell ```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) install bash -c "$(curl -L 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`. The default listening port is `9000`, and the default HTTP Challenge port is `9180`.
If there is a port conflict, please modify `/usr/local/etc/nginx-ui/app.ini` manually, If there is a port conflict, please modify `/usr/local/etc/nginx-ui/app.ini` manually,
@ -311,13 +315,13 @@ then use `systemctl restart nginx-ui` to reload the Nginx UI service.
**Remove Nginx UI, except configuration and database files** **Remove Nginx UI, except configuration and database files**
```shell ```shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) remove bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ remove
``` ```
### More Usage ### More Usage
````shell ````shell
bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh) help bash -c "$(curl -L https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ help
```` ````
## Example of Nginx Reverse Proxy Configuration ## Example of Nginx Reverse Proxy Configuration

View file

@ -74,11 +74,15 @@ Nginx UI is available on the following platforms:
## Internationalization ## Internationalization
We proudly offer official support for:
- English - English
- Simplified Chinese - Simplified Chinese
- Traditional Chinese - Traditional Chinese
We welcome translations into any language. As non-native English speakers, we strive for accuracy, but we know theres always room for improvement. If you spot any issues, wed love your feedback!
Thanks to our amazing community, additional languages are also available! Explore and contribute to translations on [Weblate](https://weblate.nginxui.com).
## Built With ## Built With

View file

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

View file

@ -71,11 +71,15 @@ Nginx UI 可在以下平台中使用:
## 国际化 ## 国际化
我们官方支持以下语言:
- 英语 - 英语
- 简体中文 - 简体中文
- 繁体中文 - 繁体中文
我们欢迎您将项目翻译成任何语言。 由于我们并非英语母语者,尽管已尽力确保准确性,但仍可能存在改进空间。如果您发现任何问题,欢迎向我们反馈!
此外,感谢我们优秀的社区提供了更多语言,欢迎访问 [Weblate](https://weblate.nginxui.com) 进行查看和贡献翻译。
## 构建基于 ## 构建基于

View file

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

View file

@ -71,11 +71,15 @@ Nginx UI 可在以下作業系統中使用:
## 國際化 ## 國際化
- 英語 我們目前官方支援以下語言:
- 簡體中文
- 繁體中文
我們歡迎您將專案翻譯成任何語言。 - 英文
- 簡體中文
- 正体中文
由於我們並非英文母語者,儘管已盡力確保準確性,仍可能有改進的空間。若您發現任何問題,歡迎提供回饋!
此外,感謝熱心的社群貢獻更多語言支援,歡迎前往 [Weblate](https://weblate.nginxui.com) 瀏覽並參與翻譯,共同打造更完善的多語言體驗!
## 構建基於 ## 構建基於

View file

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