Skip to content

Commit 8db8480

Browse files
committed
chore: update demo
1 parent 8c1cdda commit 8db8480

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

resources/demo/app.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ StartCmd = bash
99
[nginx_log]
1010
AccessLogPath = /var/log/nginx/access.local.log
1111
ErrorLogPath = /var/log/nginx/error.local.log
12+
13+
[openai]
14+
Model = gpt-3.5-turbo
15+
BaseUrl =
16+
Proxy =
17+
Token =

resources/demo/demo.db

20 KB
Binary file not shown.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
server {
2+
listen 80;
3+
listen [::]:80;
4+
server_name ojbk.me;
5+
location /.well-known/acme-challenge {
6+
proxy_set_header Host $host;
7+
proxy_set_header X-Real_IP $remote_addr;
8+
proxy_set_header X-Forwarded-For $remote_addr:$remote_port;
9+
proxy_pass http://127.0.0.1:5002;
10+
}
11+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/etc/nginx/sites-available/ojbk.me

0 commit comments

Comments
 (0)