Skip to content

Commit f9adbfc

Browse files
committed
chore: update app.example.ini #756
1 parent 32663e1 commit f9adbfc

File tree

1 file changed

+64
-52
lines changed

1 file changed

+64
-52
lines changed

app.example.ini

+64-52
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,79 @@
1-
; suppress inspection "DuplicateKeyInSection" for whole file
1+
[app]
2+
PageSize = 20
3+
JwtSecret =
4+
25
[server]
3-
HttpPort = 9000
4-
RunMode = debug
5-
JwtSecret =
6-
Email =
7-
HTTPChallengePort = 9180
8-
StartCmd = bash
9-
Database = database
10-
CADir =
11-
GithubProxy =
12-
NodeSecret =
13-
Demo = false
14-
PageSize = 10
15-
HttpHost = 0.0.0.0
16-
CertRenewalInterval = 7
17-
RecursiveNameservers =
18-
SkipInstallation = false
19-
Name =
20-
InsecureSkipVerify = false
6+
Host = 0.0.0.0
7+
Port = 9000
8+
RunMode = debug
219

22-
[nginx]
23-
AccessLogPath = /var/log/nginx/access.log
24-
ErrorLogPath = /var/log/nginx/error.log
25-
ConfigDir =
26-
PIDPath =
27-
TestConfigCmd =
28-
ReloadCmd =
29-
RestartCmd =
10+
[database]
11+
Name = database
3012

31-
[openai]
32-
Model =
33-
BaseUrl =
34-
Proxy =
35-
Token =
13+
[auth]
14+
IPWhiteList =
15+
BanThresholdMinutes = 10
16+
MaxAttempts = 10
3617

3718
[casdoor]
38-
Endpoint =
39-
ClientId =
40-
ClientSecret =
41-
Certificate =
42-
Organization =
43-
Application =
44-
RedirectUri =
19+
Endpoint =
20+
ClientId =
21+
ClientSecret =
22+
CertificatePath =
23+
Organization =
24+
Application =
25+
RedirectUri =
4526

46-
[logrotate]
47-
Enabled = false
48-
CMD = logrotate /etc/logrotate.d/nginx
49-
Interval = 1440
27+
[cert]
28+
Email =
29+
CADir =
30+
RenewalInterval = 7
31+
RecursiveNameservers =
32+
HTTPChallengePort = 9180
5033

5134
[cluster]
5235
Node = http://10.0.0.1:9000?name=node1&node_secret=my-node-secret&enabled=true
5336
Node = http://10.0.0.2:9000?name=node2&node_secret=my-node-secret&enabled=true
5437
Node = http://10.0.0.3?name=node3&node_secret=my-node-secret&enabled=true
5538

56-
[auth]
57-
IPWhiteList =
58-
BanThresholdMinutes = 10
59-
MaxAttempts = 10
60-
6139
[crypto]
62-
Secret = secret2
40+
Secret =
41+
42+
[http]
43+
GithubProxy = https://mirror.ghproxy.com/
44+
InsecureSkipVerify = false
45+
46+
[logrotate]
47+
Enabled = false
48+
CMD = logrotate /etc/logrotate.d/nginx
49+
Interval = 1440
50+
51+
[nginx]
52+
AccessLogPath = /var/log/nginx/access.log
53+
ErrorLogPath = /var/log/nginx/error.log
54+
LogDirWhiteList = /var/log/nginx
55+
ConfigDir =
56+
PIDPath =
57+
TestConfigCmd =
58+
ReloadCmd = nginx -s reload
59+
RestartCmd = start-stop-daemon --start --quiet --pidfile /var/run/nginx.pid --exec /usr/sbin/nginx
60+
61+
[node]
62+
Name = Local
63+
Secret =
64+
SkipInstallation = false
65+
Demo = false
66+
67+
[openai]
68+
BaseUrl =
69+
Token =
70+
Proxy =
71+
Model = gpt-4o
72+
73+
[terminal]
74+
StartCmd = bash
6375

6476
[webauthn]
65-
RPDisplayName =
66-
RPID =
67-
RPOrigins =
77+
RPDisplayName = Nginx UI
78+
RPID = localhost
79+
RPOrigins = http://localhost:3002,http://127.0.0.1:3002,http://192.168.31.158:3002,http://example.com

0 commit comments

Comments
 (0)