2016-02-12 07:58:41 +00:00
|
|
|
#nginx file browser
|
|
|
|
This web application is a very simple file browser which can be used
|
|
|
|
effectively together with [nginx's autoindex module](http://nginx.org/en/docs/http/ngx_http_autoindex_module.html).
|
|
|
|
|
2016-02-12 15:23:15 +00:00
|
|
|
![nginx file browser in action](assets/screen-shot-1.jpg)
|
|
|
|
|
2016-02-12 07:58:41 +00:00
|
|
|
A sample nginx configuration is also included.
|
2016-02-12 08:19:03 +00:00
|
|
|
|
|
|
|
Mainly for demonstration purposes a docker image is also available [here](https://hub.docker.com/r/mohamnag/nginx-file-browser/).
|
|
|
|
In order to use this docker image, the volume which has to be served should
|
|
|
|
be mounted under `/opt/www/files/` and port `80` of container shall be mapped
|
|
|
|
to a proper port on host. A proper run would look like:
|
|
|
|
|
|
|
|
```
|
|
|
|
$ docker run -p 8080:80 -v /path/to/my/files/:/opt/www/files/ mohamnag/nginx-file-browser
|
|
|
|
```
|