Dockerfile for nginx
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
files
tests_nginx
.gitignore
Dockerfile
LICENCE
Makefile
README.md

README.md

Nginx images for docker by bearstech

Available image:

bearstech/nginx

Dockerfiles

Dockerfiles are available at https://github.com/factorysh/docker-nginx

Usage

docker run --rm -v `pwd`:/var/www/html bearstech/nginx

Default home is /var/www/html.

It's recommended to override the default vhost file in your own image for fine tuning.

Entrypoint

An ENTRYPOINT will generate all dynamique configuration when.

The template engine is minimalist: envsubst

All files found in /etc/nginx/conf.d/*.tmpl will be compiled to .conf files by the engine.