rascasoft/nginx-unprivileged-index

By rascasoft

Updated almost 2 years ago

Quick and dirty directory index for unprivileged nginx.

Image
Web servers
0

10K+

rascasoft/nginx-unprivileged-index repository overview

nginx-unprivileged-index

Quick and dirty directory index unprivileged NGINX web server container.

NGINX configuration

The web server is configured with the simplest possible default.conf:

server {
    listen       8080;
    server_name  localhost;

    location / {
        root   /usr/share/nginx/html;
        autoindex on;
    }
}

Launching the container

If the directory you want to index is $PWD/mydir you will invoke docker as follows:

$ docker run \
    -p 8080:8080 \
    -v $PWD/mydir:/usr/share/nginx/html \
    rascasoft/nginx-unprivileged-index

The web server will be available at http://localhost:8080/.

License

MIT

Author Information

Raoul Scarazzini (rascasoft)

Tag summary

Content type

Image

Digest

sha256:52e7f3299

Size

28.7 MB

Last updated

almost 2 years ago

docker pull rascasoft/nginx-unprivileged-index