Parcourir la source

chore: update docs

Jacky il y a 4 mois
Parent
commit
779a60d456
3 fichiers modifiés avec 31 ajouts et 5 suppressions
  1. 12 2
      docs/guide/config-node.md
  2. 10 1
      docs/zh_CN/guide/config-node.md
  3. 9 2
      docs/zh_TW/guide/config-node.md

+ 12 - 2
docs/guide/config-node.md

@@ -1,9 +1,8 @@
 # Node
 
 ## Name
-
-- Version:`>= v2.0.0-beta.37`
 - Type: `string`
+- Version:`>= v2.0.0-beta.37`
 
 Use this option to customize the name of local server to be displayed in the environment indicator.
 
@@ -14,3 +13,14 @@ Use this option to customize the name of local server to be displayed in the env
 
 This secret is used to authenticate the communication between the Nginx UI servers.
 Also, you can use this secret to access the Nginx UI API without a password.
+
+## SkipInstallation
+- Type: `boolean`
+- Version: `>= v2.0.0-beta.37`
+
+By setting this option to `true`, you can skip the installation of the Nginx UI server.
+This is particularly useful when you want to deploy Nginx UI to
+multiple servers using the same configuration file or environment variables.
+
+By default, if you enable the skip install mode but do not set the `App.JwtSecret` and `Node.Secret` options
+in the server section, Nginx UI will generate a random UUID value for these two options.

+ 10 - 1
docs/zh_CN/guide/config-node.md

@@ -1,7 +1,6 @@
 # Node
 
 ## Name
-
 - 版本:`>= v2.0.0-beta.37`
 - 类型:`string`
 
@@ -14,3 +13,13 @@
 
 此密钥用于验证 Nginx UI 服务器之间的通信。
 此外,您可以使用此密钥在不使用密码的情况下访问 Nginx UI API。
+
+## SkipInstallation
+- 类型: `boolean`
+- 版本: `>= v2.0.0-beta.37`
+
+通过将此选项设置为 `true`,您可以跳过 Nginx UI 服务器的安装。
+当您希望使用相同的配置文件或环境变量将 Nginx UI 部署到多个服务器时,这非常有用。
+
+默认情况下,如果您启用了跳过安装模式,而没有在服务器部分设置 `App.JwtSecret` 和 `Node.Secret` 选项,
+Nginx UI 将为这两个选项生成一个随机的 UUID 值。

+ 9 - 2
docs/zh_TW/guide/config-node.md

@@ -1,16 +1,23 @@
 # Node
 
 ## Name
-
 - 版本:`>= v2.0.0-beta.37`
 - 類型:`string`
 
 使用此選項自定義本地伺服器的名稱,以在環境指示器中顯示。
 
 ## Secret
-
 - 類型: `string`
 - 版本: `>= v2.0.0-beta.37`
 
 此密鑰用於驗證 Nginx UI 伺服器之間的通信。
 此外,您可以使用此密鑰在不使用密碼的情況下訪問 Nginx UI API。
+
+## SkipInstallation
+- 類型: `boolean`
+- 版本: `>= v2.0.0-beta.37`
+
+將此選項設置為 `true` 可以跳過 Nginx UI 伺服器的安裝。當您希望使用相同的配置文件或環境變數將 Nginx UI 部署到多個伺服器時,這非常有用。
+
+預設情況下,如果您啟用了跳過安裝模式但未在伺服器部分設定 `App.JwtSecret` 和 `Node.Secret` 選項,
+Nginx UI 將為這兩個選項生成一個隨機的 UUID 值。