mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
feat: use settings file to predefine nodes #169
This commit is contained in:
parent
b429c15893
commit
a689608bdb
7 changed files with 191 additions and 48 deletions
|
@ -1,45 +1,46 @@
|
|||
; suppress inspection "DuplicateKeyInSection" for whole file
|
||||
[server]
|
||||
HttpPort = 9000
|
||||
RunMode = debug
|
||||
JwtSecret =
|
||||
Email =
|
||||
JwtSecret =
|
||||
Email =
|
||||
HTTPChallengePort = 9180
|
||||
StartCmd = bash
|
||||
Database = database
|
||||
CADir =
|
||||
GithubProxy =
|
||||
NodeSecret =
|
||||
CADir =
|
||||
GithubProxy =
|
||||
NodeSecret =
|
||||
Demo = false
|
||||
PageSize = 10
|
||||
HttpHost = 0.0.0.0
|
||||
CertRenewalInterval = 7
|
||||
RecursiveNameservers =
|
||||
RecursiveNameservers =
|
||||
SkipInstallation = false
|
||||
Name =
|
||||
Name =
|
||||
|
||||
[nginx]
|
||||
AccessLogPath = /var/log/nginx/access.log
|
||||
ErrorLogPath = /var/log/nginx/error.log
|
||||
ConfigDir =
|
||||
PIDPath =
|
||||
TestConfigCmd =
|
||||
ReloadCmd =
|
||||
RestartCmd =
|
||||
ConfigDir =
|
||||
PIDPath =
|
||||
TestConfigCmd =
|
||||
ReloadCmd =
|
||||
RestartCmd =
|
||||
|
||||
[openai]
|
||||
Model =
|
||||
BaseUrl =
|
||||
Proxy =
|
||||
Token =
|
||||
Model =
|
||||
BaseUrl =
|
||||
Proxy =
|
||||
Token =
|
||||
|
||||
[casdoor]
|
||||
Endpoint =
|
||||
ClientId =
|
||||
ClientSecret =
|
||||
Certificate =
|
||||
Organization =
|
||||
Application =
|
||||
RedirectUri =
|
||||
Endpoint =
|
||||
ClientId =
|
||||
ClientSecret =
|
||||
Certificate =
|
||||
Organization =
|
||||
Application =
|
||||
RedirectUri =
|
||||
|
||||
[logrotate]
|
||||
Enabled = false
|
||||
|
@ -47,4 +48,6 @@ CMD = logrotate /etc/logrotate.d/nginx
|
|||
Interval = 1440
|
||||
|
||||
[cluster]
|
||||
Node =
|
||||
Node = http://10.0.0.1:9000?name=node1&node_secret=my-node-secret&enabled=true
|
||||
Node = http://10.0.0.2:9000?name=node2&node_secret=my-node-secret&enabled=true
|
||||
Node = http://10.0.0.3?name=node3&node_secret=my-node-secret&enabled=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue