Skip to content

NickMich/docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nginx Dockerfiles

Dockerfiles for building nginx images on various base OS images

How to use:

  • Serving static files (why I put this together in the first place)
    • Get the image (using the Centos tag in this example)

      docker pull nickmich/nginx:centos
      
    • Run the container

      docker run --nginx-static -d -p 8777:8777 -v <directory-of-nginx-config>:/opt/nginx -v <directory-of-static-files>:/var/nginx nickmich/nginx:centos
      

About

Docker Image for Nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages