Initial commit

This commit is contained in:
pluja
2023-08-26 10:36:05 +02:00
commit a3543ee13a
76 changed files with 6165 additions and 0 deletions

35
nginx.conf Normal file
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 1024M;
proxy_pass http://whishper-backend:8080;
}
location /ws {
proxy_pass http://whishper-backend:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location / {
proxy_pass http://whishper-frontend:3000;
}
}
}