Files
meeting-protocol-service/nginx/nginx.conf
T
2026-04-03 21:58:58 +05:00

24 lines
496 B
Nginx Configuration File

upstream backend {
server app:8000;
}
server {
listen 80;
server_name _;
client_max_body_size 2G;
location /api/ {
proxy_pass http://backend;
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_read_timeout 300s;
}
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
}