From 2a2ba0f41c7850e07eef56323c955599e3aea734 Mon Sep 17 00:00:00 2001 From: inputnoise Date: Mon, 25 May 2026 20:32:16 +0200 Subject: [PATCH] Proxy /files/ through nginx to backend for video playback Co-Authored-By: Claude Sonnet 4.6 --- frontend/nginx.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 8f53422..27fd6cc 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -8,10 +8,17 @@ server { try_files $uri $uri/ /index.html; } - # Proxy API to backend + # Proxy API and static files to backend location /api/ { proxy_pass http://backend:8000/api/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } + + location /files/ { + proxy_pass http://backend:8000/files/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_buffering off; + } }