Production ready NGINX Web Server image based on Debian Stretch Slim
5.8K
Production ready NGINX Web Server + configuration inotify watch for automatic daemon reload
1.16.X, 1.16, 1, latestWhere X is the patch version number, and BUILD is the build number (look into project Tags page to discover the latest versions)
nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server

This image only contains the service from the defaults repository.
You can change the default behaviour using the following variables (in bold the default values):
NGINX Web Server: :FIXME:
Dockerfile in your projectFROM izdock/nginx
COPY ./public-html/ /usr/local/apache2/htdocs/
Then, run the commands to build and run the Docker image:
$ docker build -t my-nginx .
$ docker run -dit --name my-webapp -p 8080:80 my-nginx
Visit http://localhost:8080 and you will see It works!
DockerfileIf you don't want to include a Dockerfile in your project, it is sufficient to do the following:
$ docker run -dit --name my-webapp -p 8080:80 -v "$PWD":/var/www/localhost/htdocs izdock/nginx
To customize the configuration of the nginx server, just COPY your custom configuration in as /etc/nginx/conf.d/default.conf.
FROM izdock/nginx
COPY ./my-nginx.conf /etc/nginx/conf.d/default.conf
Where to get help: InitZero Corporate Support
Where to file issues: https://github.com/ugoviti
Maintained by: Ugo Viti
Supported architectures:
[amd64]
Supported Docker versions: the latest release (down to 1.6 on a best-effort basis)
Content type
Image
Digest
Size
58.8 MB
Last updated
over 6 years ago
docker pull izdock/nginx