docker-nginx-static-server/README.md

14 lines
381 B
Markdown
Raw Permalink Normal View History

2022-04-07 12:00:50 +02:00
> ⚠️ Deprecated use [docker-static](https://github.com/cupcakearmy/docker-static)
2018-07-24 12:21:04 +02:00
# Nginx Docker Static Files Server 🐳
Small boilerplate for static serving the `./data` directory.
1. Create `data` dir.
2. Put files inside.
3. `docker-compose up -d`
2018-07-24 12:23:01 +02:00
#### Autoindex
If nginx should autoindex (show the content of a directory) remove the comment in the `nginx.conf` file.