🧑‍💻(ngnix) add conf ngnix to proxy media url

In development mode with docker-compose, we need to
configure Nginx to proxy requests to the Minio server.
Before to proxy to Minio, we need to
authenticate the request, so we proxy to the
Django server first to fill the request with the
necessary headers, then we proxy to Minio.
This commit is contained in:
Anthony LC
2024-08-29 16:42:29 +02:00
committed by Anthony LC
parent 6eff21f51e
commit 1ff3d9c54e
2 changed files with 31 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
NEXT_PUBLIC_API_ORIGIN=http://localhost:8071
NEXT_PUBLIC_SIGNALING_URL=ws://localhost:4444
NEXT_PUBLIC_MEDIA_URL=http://localhost:8083
NEXT_PUBLIC_SW_DEACTIVATED=true