Files
MediaLore-Web-App/frontend/nginx.conf
2026-05-09 12:34:45 -04:00

21 lines
445 B
Nginx Configuration File

server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://backend:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
# Allow large file uploads
client_max_body_size 0;
# Disable buffering for video streaming
proxy_buffering off;
}
location / {
try_files $uri $uri/ /index.html;
}
}