mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore: update app.example.ini #756
This commit is contained in:
parent
32663e1c26
commit
f9adbfc4bb
1 changed files with 64 additions and 52 deletions
116
app.example.ini
116
app.example.ini
|
@ -1,67 +1,79 @@
|
||||||
; suppress inspection "DuplicateKeyInSection" for whole file
|
[app]
|
||||||
|
PageSize = 20
|
||||||
|
JwtSecret =
|
||||||
|
|
||||||
[server]
|
[server]
|
||||||
HttpPort = 9000
|
Host = 0.0.0.0
|
||||||
RunMode = debug
|
Port = 9000
|
||||||
JwtSecret =
|
RunMode = debug
|
||||||
Email =
|
|
||||||
HTTPChallengePort = 9180
|
|
||||||
StartCmd = bash
|
|
||||||
Database = database
|
|
||||||
CADir =
|
|
||||||
GithubProxy =
|
|
||||||
NodeSecret =
|
|
||||||
Demo = false
|
|
||||||
PageSize = 10
|
|
||||||
HttpHost = 0.0.0.0
|
|
||||||
CertRenewalInterval = 7
|
|
||||||
RecursiveNameservers =
|
|
||||||
SkipInstallation = false
|
|
||||||
Name =
|
|
||||||
InsecureSkipVerify = false
|
|
||||||
|
|
||||||
[nginx]
|
[database]
|
||||||
AccessLogPath = /var/log/nginx/access.log
|
Name = database
|
||||||
ErrorLogPath = /var/log/nginx/error.log
|
|
||||||
ConfigDir =
|
|
||||||
PIDPath =
|
|
||||||
TestConfigCmd =
|
|
||||||
ReloadCmd =
|
|
||||||
RestartCmd =
|
|
||||||
|
|
||||||
[openai]
|
[auth]
|
||||||
Model =
|
IPWhiteList =
|
||||||
BaseUrl =
|
BanThresholdMinutes = 10
|
||||||
Proxy =
|
MaxAttempts = 10
|
||||||
Token =
|
|
||||||
|
|
||||||
[casdoor]
|
[casdoor]
|
||||||
Endpoint =
|
Endpoint =
|
||||||
ClientId =
|
ClientId =
|
||||||
ClientSecret =
|
ClientSecret =
|
||||||
Certificate =
|
CertificatePath =
|
||||||
Organization =
|
Organization =
|
||||||
Application =
|
Application =
|
||||||
RedirectUri =
|
RedirectUri =
|
||||||
|
|
||||||
[logrotate]
|
[cert]
|
||||||
Enabled = false
|
Email =
|
||||||
CMD = logrotate /etc/logrotate.d/nginx
|
CADir =
|
||||||
Interval = 1440
|
RenewalInterval = 7
|
||||||
|
RecursiveNameservers =
|
||||||
|
HTTPChallengePort = 9180
|
||||||
|
|
||||||
[cluster]
|
[cluster]
|
||||||
Node = http://10.0.0.1:9000?name=node1&node_secret=my-node-secret&enabled=true
|
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.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
|
Node = http://10.0.0.3?name=node3&node_secret=my-node-secret&enabled=true
|
||||||
|
|
||||||
[auth]
|
|
||||||
IPWhiteList =
|
|
||||||
BanThresholdMinutes = 10
|
|
||||||
MaxAttempts = 10
|
|
||||||
|
|
||||||
[crypto]
|
[crypto]
|
||||||
Secret = secret2
|
Secret =
|
||||||
|
|
||||||
|
[http]
|
||||||
|
GithubProxy = https://mirror.ghproxy.com/
|
||||||
|
InsecureSkipVerify = false
|
||||||
|
|
||||||
|
[logrotate]
|
||||||
|
Enabled = false
|
||||||
|
CMD = logrotate /etc/logrotate.d/nginx
|
||||||
|
Interval = 1440
|
||||||
|
|
||||||
|
[nginx]
|
||||||
|
AccessLogPath = /var/log/nginx/access.log
|
||||||
|
ErrorLogPath = /var/log/nginx/error.log
|
||||||
|
LogDirWhiteList = /var/log/nginx
|
||||||
|
ConfigDir =
|
||||||
|
PIDPath =
|
||||||
|
TestConfigCmd =
|
||||||
|
ReloadCmd = nginx -s reload
|
||||||
|
RestartCmd = start-stop-daemon --start --quiet --pidfile /var/run/nginx.pid --exec /usr/sbin/nginx
|
||||||
|
|
||||||
|
[node]
|
||||||
|
Name = Local
|
||||||
|
Secret =
|
||||||
|
SkipInstallation = false
|
||||||
|
Demo = false
|
||||||
|
|
||||||
|
[openai]
|
||||||
|
BaseUrl =
|
||||||
|
Token =
|
||||||
|
Proxy =
|
||||||
|
Model = gpt-4o
|
||||||
|
|
||||||
|
[terminal]
|
||||||
|
StartCmd = bash
|
||||||
|
|
||||||
[webauthn]
|
[webauthn]
|
||||||
RPDisplayName =
|
RPDisplayName = Nginx UI
|
||||||
RPID =
|
RPID = localhost
|
||||||
RPOrigins =
|
RPOrigins = http://localhost:3002,http://127.0.0.1:3002,http://192.168.31.158:3002,http://example.com
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue