Please see nginx boilerplate instead.
Pre-configured Nginx-boilerplated Docker setup
- Docker toolbox (just Docker Engine is sufficient for Linux)
- Docker Compose
/etc/hostsmight need a change for local development (see.hosts)
git submodule update --init- Modify
nginx-boilerplate/contents according to your needs - Modify
docker-compose.ymlas you see fit - Run
docker-compose up - Open
http://127.0.0.1in browser - Auto-reload nginx config for convenience
watch docker-compose exec nginx nginx -s reload