https://github.com/jasonheecs/docker-nginx-proxy
Increased upload limits and removed server tokens for nginx-proxy docker image
https://github.com/jasonheecs/docker-nginx-proxy
docker docker-gen nginx nginx-proxy
Last synced: 4 months ago
JSON representation
Increased upload limits and removed server tokens for nginx-proxy docker image
- Host: GitHub
- URL: https://github.com/jasonheecs/docker-nginx-proxy
- Owner: jasonheecs
- License: mit
- Created: 2018-07-19T06:39:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-19T06:50:08.000Z (almost 7 years ago)
- Last Synced: 2025-01-12T15:45:16.953Z (6 months ago)
- Topics: docker, docker-gen, nginx, nginx-proxy
- Language: Ruby
- Homepage:
- Size: 2.93 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Modified Docker Image for nginx-proxy
[![Build Status][travis-badge]][travis-link] [![Docker Automated Build Status][docker-build-badge]][docker-hub-link]A modified docker image based on the [nginx-proxy](https://github.com/jwilder/nginx-proxy) docker image. Increased nginx upload limits and removed nginx server tokens.
## Usage
`docker pull jasonheecs/nginx-proxy:latest`
Sample `docker-compose` file:
```yml
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 HadolintTo run Rspec tests:
```bash
gem install bundler
bundle install
bundle exec rspec
```To run linting tests on the Dockerfile:
```bash
docker pull hadolint/hadolint
docker run --rm -i hadolint/hadolint < Dockerfile
```Refer to the [travis.yml](.travis.yml) file and [Travis build logs][travis-link] for details on the automated tests and expected outputs.
## License
MIT[docker-build-badge]: https://img.shields.io/docker/build/jasonheecs/nginx-proxy.svg
[docker-hub-link]: https://hub.docker.com/r/jasonheecs/nginx-proxy/
[travis-badge]: https://travis-ci.com/jasonheecs/docker-nginx-proxy.svg?branch=master
[travis-link]: https://travis-ci.com/jasonheecs/docker-nginx-proxy