/docker-nginx-proxy

Increased upload limits and removed server tokens for nginx-proxy docker image

Primary LanguageRubyMIT LicenseMIT

Modified Docker Image for nginx-proxy

Build Status Docker Automated Build Status

A modified docker image based on the nginx-proxy docker image. Increased nginx upload limits and removed nginx server tokens.

Usage

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

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.

License

MIT