Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```