Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rgson/docker-nginx-static
Docker image with nginx configured to serve static files
https://github.com/rgson/docker-nginx-static
docker docker-image nginx static-server static-website
Last synced: 13 days ago
JSON representation
Docker image with nginx configured to serve static files
- Host: GitHub
- URL: https://github.com/rgson/docker-nginx-static
- Owner: rgson
- Created: 2019-08-04T20:58:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-04T21:10:11.000Z (over 5 years ago)
- Last Synced: 2024-11-15T02:35:27.234Z (2 months ago)
- Topics: docker, docker-image, nginx, static-server, static-website
- Language: Dockerfile
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nginx-static
Docker image with `nginx` configured to serve static files.
`/srv` is used as the web root. Mount your files there to have them served.
## Example
```sh
docker container run -d \
-p 80:80 \
-v $PWD/public:/srv \
nginx-static
```