Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

codeclou-archive/docker-nginx-self-signed-ssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-nginx-self-signed-ssl

‼️ Deprecated and Discontinued ‼️

Docker-Image to run nginx with a self-signed SSL certificate.


 

Prerequisites


 

Usage

Run demo site.

docker run \
    --name local.codeclou.io
    -i -t \
    -p 4443:4443 \
    --volume $(pwd)/demo-site/:/opt/www \
   codeclou/docker-nginx-self-signed-ssl:latest

Now you can access from host computer https://local.codeclou.io:4443/ which works with a self-signed certificate. local.codeclou.io always points to 127.0.0.1 but if you use the name to link containers together the DNS gets changed for you.

Example: Link a selenium-standalone-instance to your named nginx-container like so.

docker run \
    -d \
    -p 4444:4444 \
    --link local.codeclou.io \
    selenium/standalone-chrome:3.0.1-aluminum

 

License, Liability & Support

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published