A modified docker image based on the nginx-proxy docker image. Increased nginx upload limits and removed nginx server tokens.
docker pull jasonheecs/nginx-proxy:latest
Sample docker-compose
file:
version: '2'
services:
nginx-proxy:
image: jasonheecs/nginx-proxy
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock
container_name: nginx-proxy
Testing is done via Rspec and Hadolint
To run Rspec tests:
gem install bundler
bundle install
bundle exec rspec
To run linting tests on the Dockerfile:
docker pull hadolint/hadolint
docker run --rm -i hadolint/hadolint < Dockerfile
Refer to the travis.yml file and Travis build logs for details on the automated tests and expected outputs.
MIT