Skip to content

Modified nginx container that changes the port before starting nginx.

Notifications You must be signed in to change notification settings

hmichopoulos/nginx_dynamic_port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

nginx_dynamic_port

Modified nginx container that changes the port before starting nginx. The default port is 80. In this case, just use the original nginx container. This is usuful mainly when the host network mode is used. Run this container using the following command:

docker run -d -e PORT=9090 --net=host hmichopoulos/nginx

About

Modified nginx container that changes the port before starting nginx.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages