A container image that has SSL-enabled by default, useful for testing purposes.
531
A container image that has SSL-enabled by default, useful for testing purposes.
Make nginx accessible on https://localhost:8443 using a self-signed certificate.
docker run -p 8443:443 jamiely/nginx-ssl
Use your own certificates:
% ls ssl
server.pem.crt key.pem root_CA_cert_plus_intermediates.pem.crt
% docker run -v $(pwd)/ssl:/etc/nginx/ssl jamiely/nginx-ssl
Change the common name (CN) associated with the self-signed certificate.
docker run -e COMMON_NAME=mine.example.com \
-p 8443:443 jamiely/nginx-ssl
Change the subject alternative name (SAN) associated with the self-signed certificate as well.
docker run -e COMMON_NAME=mine.example.com \
-e SUBJECT_ALTERNATIVE_NAME=DNS:mine.example.com \
-p 8443:443 jamiely/nginx-ssl
Check out setup_ssl.sh for more environment variables.
Content type
Image
Digest
Size
50.8 MB
Last updated
over 6 years ago
docker pull jamiely/nginx-ssl