Ready to use nginx ssl image which comes preconfigured with a self-signed certificate for localhost
4.6K
Is a ready to use nginx ssl image which comes pre-configured with a self-signed certificate for localhost
Run the container by executing
docker run --name nginx-ssl-localhost --rm -p "443:443" rodrigodiez/nginx-ssl-localhost
Now, open https://localhost in your browser. You should see a welcome page
Just mount your site's directory as a volume in /usr/share/nginx/html:
docker run --name nginx-ssl-localhost --rm -p "443:443" -v /some/html:/usr/share/nginx/html rodrigodiez/nginx-ssl-localhost
Content type
Image
Digest
Size
52.9 MB
Last updated
over 10 years ago
docker pull rodrigodiez/nginx-ssl-localhost