Quick and dirty directory index for unprivileged nginx.
10K+
Quick and dirty directory index unprivileged NGINX web server container.
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;
}
}
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/.
MIT
Raoul Scarazzini (rascasoft)
Content type
Image
Digest
sha256:52e7f3299…
Size
28.7 MB
Last updated
almost 2 years ago
docker pull rascasoft/nginx-unprivileged-index