14 lines
381 B
Markdown
14 lines
381 B
Markdown
> ⚠️ Deprecated use [docker-static](https://github.com/cupcakearmy/docker-static)
|
|
|
|
# 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`
|
|
|
|
#### Autoindex
|
|
|
|
If nginx should autoindex (show the content of a directory) remove the comment in the `nginx.conf` file.
|