Skip to content

crappyrules/docker-nginx-autoindex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

docker-nginx-autoindex

This container takes official alpine nginx image and turns on autoindex.

You can do a simple mount to simply serve files from your local file system with nginx. Make sure to map the directory you want to serve from with the -v command

docker run --rm -d --name docker-nginx-autoindex -p '80:80' \
    -v /home/crappy/html:/usr/share/nginx/html:ro crappyrules/docker-nginx-autoindex

Then navigate in a browser to http://127.0.0.1 and view the files in the directory you mounted in your volume

About

docker-nginx-autoindex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published