1👍
✅
There are some issues in your code.
For the port 8000:80
in your docker-compose
the 8000
is the port that the browser will try to connect, 80
is the port that the docker container port. That means that you need to set the same port 80
for the nginx config
.
In the Nginx config, you only set the location for /api
and /admin
and staticfiles
. I only see you try to GET /
Did you try to GET
your api
and admin
instead ?
Source:stackexchange.com