Repository navigation
Expand file tree
/
Copy pathapp.example.ini
More file actions
137 lines (118 loc) · 3.54 KB
/
Copy pathapp.example.ini
File metadata and controls
137 lines (118 loc) · 3.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[app]
PageSize = 20
JwtSecret =
[server]
Host = 0.0.0.0
Port = 9000
RunMode = debug
EnableHTTPS = false
EnableH2 = false
EnableH3 = false
[listener]
# Optional absolute Unix socket path; empty keeps server Host/Port.
UnixSocket =
# Octal permission applied to the socket, default 0666 so the reverse proxy user can connect.
SocketMode =
[database]
Name = database
[auth]
IPWhiteList =
TrustedProxies =
BanThresholdMinutes = 10
MaxAttempts = 10
SecureSessionTimeoutMinutes = 10
MFARequired = false
MFARequiredForSSO = false
[casdoor]
Endpoint =
ClientId =
ClientSecret =
CertificatePath =
Organization =
Application =
RedirectUri =
[oidc]
ClientId =
ClientSecret =
Endpoint =
RedirectUri =
Scopes =
Identifier =
[cert]
Email =
CADir =
RenewalInterval = 30
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/
HTTPProxy = http://proxy.example.com:8080
InsecureSkipVerify = false
WebSocketTrustedOrigins =
[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
; Leave empty to let Nginx UI pick the restart method. In the official Docker
; image that hands the restart to s6; a command that starts Nginx itself there
; runs it outside s6 and the supervised Nginx can no longer bind its ports.
RestartCmd =
; Directory that custom maintenance page templates are loaded from.
MaintenanceDir = /etc/nginx/maintenance
; Template file name in MaintenanceDir used for site maintenance mode pages.
MaintenanceTemplate = maintenance.html
[nginx_log]
; Log analytics moved into the official "Log Analytics" plugin (com.nginxui.log-analytics).
; Install the plugin from the Plugins page to search logs and see the traffic dashboard.
; The two keys below are only read to hand a node that used the earlier built-in indexing
; over to the plugin, they are not written by the UI anymore. The old settings
; IncrementalIndexInterval, MaxConcurrentIndexTasks, IndexCustomMMDB and GeoMapPath are
; copied into the plugin settings during that handoff.
IndexingEnabled = false
IndexPath =
[node]
Name = Local
Secret =
SkipInstallation = false
Demo = false
[openai]
Provider = openai
BaseUrl =
Token =
Proxy =
Model = gpt-4o
APIType =
EnableCodeCompletion = false
CodeCompletionModel = gpt-4o-mini
[site_check]
; Enable or disable the periodic Site Checker that probes every server_name.
Enabled = true
; Maximum concurrent health checks per sweep. Clamped to [1, 20].
Concurrency = 5
; Interval between sweeps, in seconds. Minimum 30.
IntervalSeconds = 300
[upstream_check]
; Enable or disable active availability probes for proxy and upstream targets.
Enabled = true
; Interval between availability probes, in seconds. Minimum 5.
IntervalSeconds = 30
[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