forked from 0xJacky/nginx-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update docs regarding to settings v2
- Loading branch information
Showing
39 changed files
with
1,063 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# App | ||
|
||
## PageSize | ||
|
||
- Type: `int` | ||
- Default: 10 | ||
- Version: `>=v2.0.0-beta.37` | ||
|
||
This option is used to set the page size of list pagination in the Nginx UI. Adjusting the page size can help in | ||
managing large amounts of data more effectively, but a too large number can increase the load on the server. | ||
|
||
## JwtSecret | ||
- Type: `string` | ||
- Version: `>=v2.0.0-beta.37` | ||
|
||
This option is used to configure the key used by the Nginx UI server to generate JWT. | ||
|
||
JWT is a standard for verifying user identity. It can generate a token after the user logs in, and then use the token to verify the user's identity in subsequent requests. | ||
|
||
If you use the one-click installation script to deploy Nginx UI, the script will generate a UUID value and set it as the value of this option. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Cert | ||
|
||
## CADir | ||
- Type: `string` | ||
- Version:`>= v2.0.0-beta.37` | ||
|
||
When applying for a Let's Encrypt certificate, we use the default CA address of Let's Encrypt. If you need to debug or | ||
obtain certificates from other providers, you can set CADir to their address. | ||
|
||
::: tip | ||
Please note that the address provided by | ||
CADir needs to comply with the `RFC 8555` standard. | ||
::: | ||
|
||
## RecursiveNameservers | ||
|
||
- Version:`>= v2.0.0-beta.37` | ||
- Type: `[]string` | ||
- Example: `8.8.8.8:53,1.1.1.1:53` | ||
|
||
This option is used to set the recursive nameservers used by | ||
Nginx UI in the DNS challenge step of applying for a certificate. | ||
If this option is not configured, Nginx UI will use the nameservers settings of the operating system. | ||
|
||
|
||
## CertRenewalInterval | ||
|
||
- Version:`>= v2.0.0-beta.37` | ||
- Type: `int` | ||
- Default value: `7` | ||
|
||
This option is used to set the automatic renewal interval of the Let's Encrypt certificate. | ||
By default, Nginx UI will automatically renew the certificate every 7 days. | ||
|
||
## HTTPChallengePort | ||
|
||
- Version:`>= v2.0.0-beta.37` | ||
- Type: `int` | ||
- Default: `9180` | ||
|
||
This option is used to set the port for backend listening in the HTTP01 challenge mode when obtaining Let's Encrypt | ||
certificates. The HTTP01 challenge is a domain validation method used by Let's Encrypt to verify that you control the | ||
domain for which you're requesting a certificate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Database | ||
|
||
## Name | ||
- Type: `string` | ||
- Default: `database` | ||
- Version: `>=v2.0.0-beta.37` | ||
|
||
This option is used to set the name of the sqlite database used by Nginx UI to store its data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Http | ||
|
||
## GithubProxy | ||
|
||
- Type: `string` | ||
- Version: `>= v2.0.0-beta.37` | ||
- 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. | ||
|
||
## InsecureSkipVerify | ||
|
||
- Version:`>= v2.0.0-beta.37` | ||
- Type: `bool` | ||
|
||
This option is used to skip the verification of the certificate of servers when Nginx UI sends requests to them. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Node | ||
|
||
## Name | ||
|
||
- Version:`>= v2.0.0-beta.37` | ||
- Type: `string` | ||
|
||
Use this option to customize the name of local server to be displayed in the environment indicator. | ||
|
||
|
||
## Secret | ||
- Type: `string` | ||
- Version: `>= v2.0.0-beta.37` | ||
|
||
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. |
Oops, something went wrong.