Add whishper

This commit is contained in:
Ruben Hensen
2024-12-17 13:46:57 +01:00
parent b3c2293799
commit 6277b940e2
16 changed files with 477 additions and 2 deletions
+35
View File
@@ -0,0 +1,35 @@
events {
worker_connections 1024;
}
http {
gzip on;
server {
listen 80;
location /api/video {
alias /app/uploads/;
}
location /languages {
proxy_pass http://translate:5000;
}
location /api {
client_max_body_size 0;
proxy_pass http://127.0.0.1:8080;
}
location /ws {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location / {
proxy_pass http://127.0.0.1:3000;
}
}
}