https://github.com/pottava/docker-nginx
https://github.com/pottava/docker-nginx
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pottava/docker-nginx
- Owner: pottava
- Created: 2016-01-07T07:50:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-11T03:04:23.000Z (about 10 years ago)
- Last Synced: 2025-04-08T23:29:31.917Z (over 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Nginx Dockerfiles based on Alpine Linux 3.4.
---
## Images
https://hub.docker.com/r/pottava/nginx/
## Available Tags
https://hub.docker.com/r/pottava/nginx/tags/
### Supported tags and respective `Dockerfile` links
・latest ([versions/1.11-lua/Dockerfile](https://github.com/pottava/docker-nginx/blob/master/versions/1.11-lua/Dockerfile))
・1.11 ([versions/1.11/Dockerfile](https://github.com/pottava/docker-nginx/blob/master/versions/1.11/Dockerfile))
・1.11-lua ([versions/1.11-lua/Dockerfile](https://github.com/pottava/docker-nginx/blob/master/versions/1.11-lua/Dockerfile))
・1.10 ([versions/1.10/Dockerfile](https://github.com/pottava/docker-nginx/blob/master/versions/1.10/Dockerfile))
・1.10-lua ([versions/1.10-lua/Dockerfile](https://github.com/pottava/docker-nginx/blob/master/versions/1.10-lua/Dockerfile))
・1.8 ([versions/1.8/Dockerfile](https://github.com/pottava/docker-nginx/blob/master/versions/1.8/Dockerfile))
・1.8-lua ([versions/1.8-lua/Dockerfile](https://github.com/pottava/docker-nginx/blob/master/versions/1.8-lua/Dockerfile))
## Usage
If you have html contents, run with following commands
`docker run --rm -p 80:80 -v $(pwd)/html:/etc/nginx/html pottava/nginx`
If you want to change configurations (e.g. reverse-proxy mode), run with following commands
`docker run --rm -p 80:80 -v $(pwd)/conf/nginx.conf:/etc/nginx/conf/nginx.conf pottava/nginx`