Add /files/ proxy in nginx config for signed URLs
CI / Lint & Format (push) Failing after 8s
CI / Tests (push) Has been skipped
CI / Security Scan (push) Failing after 7s
CI / Docker Build (push) Has been skipped

This commit is contained in:
2026-06-25 10:01:11 -04:00
parent 4085902ad4
commit 1260a46c7c
+9
View File
@@ -18,6 +18,15 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
# Proxy pour les fichiers signés (thumbnails, downloads)
location /files/ {
proxy_pass http://backend:8000;
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_set_header X-Forwarded-Proto $scheme;
}
location /admin/api/ {
proxy_pass http://backend:8000;
proxy_set_header Host $host;