Nginx http not redirecting to https

Solution 1:

You are mapping Port 80 to the port 8000 in your docker-compose.yml. Your requests never reach nginx.

ports:
  - "80:80"
  - "443:443"