feat:增加智能学习
This commit is contained in:
13
nginx.conf
13
nginx.conf
@@ -57,6 +57,14 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /study-agent/ {
|
||||
proxy_pass http://host.docker.internal:88/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /calibre/ {
|
||||
proxy_pass http://host.docker.internal:8100/;
|
||||
proxy_set_header Host $host;
|
||||
@@ -127,6 +135,11 @@ server {
|
||||
proxy_pass http://host.docker.internal:8000/;
|
||||
}
|
||||
|
||||
location /study-api/ {
|
||||
proxy_buffering off;
|
||||
proxy_pass http://host.docker.internal:8001/;
|
||||
}
|
||||
|
||||
location /ws/ {
|
||||
proxy_pass http://host.docker.internal:5050;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user