Docker image with nginx and an autoindex for the /var/www
6.8K
docker image for nginx with autoindex on by default based off of mbentley/nginx:latest
To pull this image:
docker pull mbentley/nginx-autoindex
Example usage:
docker run -it -p 80 --name nginx -v /data/www:/var/www mbentley/nginx-autoindex
By default, this just runs a basic nginx server that listens on port 80 with autoindex on. The default webroot is /var/www.
FASTCGI_PASS - (default - unix:/var/run/php8-fpm.sock) - Allows user to override the location used by fastcgi_pass in /etc/nginx/php.conf.
unix:/run/php/php8.0-fpm.sock for php8.0-fpmphp:9000 where php8-fpm is listening on port 9000 on an overlay network where the service is named phpContent type
Image
Digest
sha256:97ab6a01d…
Size
10.4 MB
Last updated
about 8 hours ago
docker pull mbentley/nginx-autoindex