-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathnginx.conf
More file actions
35 lines (28 loc) · 751 Bytes
/
nginx.conf
File metadata and controls
35 lines (28 loc) · 751 Bytes
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
events {}
http {
include mime.types;
default_type application/octet-stream;
server {
listen 80;
location / {
root /usr/share/nginx/html;
try_files $uri /index.html;
}
location /clone_speaker {
proxy_pass http://tts/clone_speaker;
client_max_body_size 20M;
}
location /tts_stream {
proxy_pass http://tts/tts_stream;
proxy_buffering off;
}
location /generate_stream {
proxy_pass http://llm:8080/generate_stream;
proxy_buffering off;
}
location /asr {
proxy_pass http://asr:9000/asr;
client_max_body_size 20M;
}
}
}