Skip to content

makocchi-ca/docker-nginx-hostname

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makocchi/docker-nginx-hostname makocchi/docker-nginx-hostname

docker-nginx-hostname

Nginx image that shows container's hostname

Usage

$ sudo docker run -d -p80:80 -p443:443 --name=sample-web makocchi/docker-nginx-hostname

make ssl.key and ssl.crt

$ openssl genrsa -out ssl.key 2048
$ openssl req -x509 -new -nodes -key ssl.key -days 10000 -out ssl.crt -subj "/CN=makocchi.com"

About

Nginx image that shows container's hostname

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%