Sign inSign up

mbentley/nginx-autoindex

By mbentley

•Updated about 24 hours ago

Docker image with nginx and an autoindex for the /var/www

Image
0

6.9K

mbentley/nginx-autoindex repository overview

⁠mbentley/nginx-autoindex

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.

⁠Environment variables

  • FASTCGI_PASS - (default - unix:/var/run/php8-fpm.sock) - Allows user to override the location used by fastcgi_pass in /etc/nginx/php.conf.
    • Example: unix:/run/php/php8.0-fpm.sock for php8.0-fpm
    • Example: php:9000 where php8-fpm is listening on port 9000 on an overlay network where the service is named php

Tag summary

Content type

Image

Digest

sha256:a319b7ee6…

Size

10.4 MB

Last updated

about 24 hours ago

docker pull mbentley/nginx-autoindex