Set up https access to nginx docker container
The reason for your error is because your copying the nginx SSL configuration to a folder nginx does not load by default.After changing this line in the Dockerfile -COPY default-ssl.conf /etc/nginx/sites-available/default
To this -COPY default-ssl.conf /etc/nginx/conf.d/default-ssl.conf
I'm able to reach Nginx with https.