mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
chore: update docs
This commit is contained in:
parent
509443a6e7
commit
5db099bc1b
3 changed files with 46 additions and 3 deletions
|
@ -108,3 +108,18 @@ If the `--sbin-path` path can be obtained, Nginx UI will use the following comma
|
|||
```bash
|
||||
start-stop-daemon --start --quiet --pidfile $PID --exec $SBIN_PATH
|
||||
```
|
||||
|
||||
## Stub Status
|
||||
|
||||
In this section, we will introduce configuration options in Nginx UI for the Nginx stub status module.
|
||||
|
||||
### StubStatusPort
|
||||
- Type: `uint`
|
||||
- Default: `51820`
|
||||
- Version: `>= v2.0.0-rc.6`
|
||||
|
||||
This option is used to set the port for the Nginx stub status module. The stub status module provides basic status information about Nginx, which is used by Nginx UI to monitor the server's performance.
|
||||
|
||||
::: tip Tip
|
||||
Make sure the port you set is not being used by other services.
|
||||
:::
|
||||
|
|
|
@ -108,4 +108,19 @@ nginx
|
|||
start-stop-daemon --start --quiet --pidfile $PID --exec $SBIN_PATH
|
||||
```
|
||||
|
||||
## Stub Status
|
||||
|
||||
在本节中,我们将会介绍 Nginx UI 中关于 Nginx stub status 模块的配置选项。
|
||||
|
||||
### StubStatusPort
|
||||
- 类型:`uint`
|
||||
- 默认值:`51820`
|
||||
- 版本:`>= v2.0.0-rc.6`
|
||||
|
||||
此选项用于设置 Nginx stub status 模块的端口。stub status 模块提供了 Nginx 的基本状态信息,Nginx UI 使用这些信息来监控服务器的性能。
|
||||
|
||||
::: tip 提示
|
||||
请确保您设置的端口未被其他服务占用。
|
||||
:::
|
||||
|
||||
|
||||
|
|
|
@ -56,9 +56,7 @@ Nginx 日誌對於監控、排查問題和維護您的 Web 伺服器至關重要
|
|||
|
||||
此選項用於設置 Nginx 配置文件夾的路徑。
|
||||
|
||||
在 v2 版
|
||||
|
||||
本中,我們會讀取 `nginx -V` 命令的輸出,以獲取 Nginx 配置文件的默認路徑。
|
||||
在 v2 版本中,我們會讀取 `nginx -V` 命令的輸出,以獲取 Nginx 配置文件的默認路徑。
|
||||
|
||||
如果您需要覆蓋默認路徑,您可以使用此選項。
|
||||
|
||||
|
@ -102,3 +100,18 @@ start-stop-daemon --stop --quiet --oknodo --retry=TERM/30/KILL/5 --pidfile $PID
|
|||
```bash
|
||||
start-stop-daemon --start --quiet --pidfile $PID --exec $SBIN_PATH
|
||||
```
|
||||
|
||||
## Stub Status
|
||||
|
||||
在本節中,我們將會介紹 Nginx UI 中關於 Nginx stub status 模組的配置選項。
|
||||
|
||||
### StubStatusPort
|
||||
- 類型:`uint`
|
||||
- 默認值:`51820`
|
||||
- 版本:`>= v2.0.0-rc.6`
|
||||
|
||||
此選項用於設置 Nginx stub status 模組的端口。stub status 模組提供了 Nginx 的基本狀態信息,Nginx UI 使用這些信息來監控伺服器的性能。
|
||||
|
||||
::: tip 提示
|
||||
請確保您設置的端口未被其他服務佔用。
|
||||
:::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue