chore: update demo

This commit is contained in:
0xJacky 2023-03-22 00:22:14 +08:00
parent 8c1cdda305
commit 8db848090a
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
4 changed files with 18 additions and 0 deletions

View file

@ -9,3 +9,9 @@ StartCmd = bash
[nginx_log]
AccessLogPath = /var/log/nginx/access.local.log
ErrorLogPath = /var/log/nginx/error.local.log
[openai]
Model = gpt-3.5-turbo
BaseUrl =
Proxy =
Token =

Binary file not shown.

View file

@ -0,0 +1,11 @@
server {
listen 80;
listen [::]:80;
server_name ojbk.me;
location /.well-known/acme-challenge {
proxy_set_header Host $host;
proxy_set_header X-Real_IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr:$remote_port;
proxy_pass http://127.0.0.1:5002;
}
}

View file

@ -0,0 +1 @@
/etc/nginx/sites-available/ojbk.me