mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 09:55:48 +02:00
82 lines
1.6 KiB
INI
82 lines
1.6 KiB
INI
[app]
|
|
PageSize = 20
|
|
JwtSecret =
|
|
|
|
[server]
|
|
Host = 0.0.0.0
|
|
Port = 9000
|
|
RunMode = debug
|
|
|
|
[database]
|
|
Name = database
|
|
|
|
[auth]
|
|
IPWhiteList =
|
|
BanThresholdMinutes = 10
|
|
MaxAttempts = 10
|
|
|
|
[casdoor]
|
|
Endpoint =
|
|
ClientId =
|
|
ClientSecret =
|
|
CertificatePath =
|
|
Organization =
|
|
Application =
|
|
RedirectUri =
|
|
|
|
[cert]
|
|
Email =
|
|
CADir =
|
|
RenewalInterval = 7
|
|
RecursiveNameservers =
|
|
HTTPChallengePort = 9180
|
|
|
|
[cluster]
|
|
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
|
|
|
|
[crypto]
|
|
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
|
|
APIType =
|
|
EnableCodeCompletion = false
|
|
CodeCompletionModel = gpt-4o-mini
|
|
|
|
[terminal]
|
|
StartCmd = bash
|
|
|
|
[webauthn]
|
|
RPDisplayName = Nginx UI
|
|
RPID = localhost
|
|
RPOrigins = http://localhost:3002,http://127.0.0.1:3002,http://192.168.31.158:3002,http://example.com
|