Public | Automated Build

Last pushed: 6 days ago
Short Description
Short description is empty for this repo.
Full Description

mbentley/nginx

docker image for nginx
based off of alpine:latest

To pull this image:
docker pull mbentley/nginx

Example usage:
docker run -it -p 80 --name nginx -v /data/www:/var/www mbentley/nginx

By default, this just runs a basic nginx server that listens on port 80. The default webroot is /var/www.

Environment variables

  • FASTCGI_PASS - (default - unix:/var/run/php5-fpm.sock) - Allows user to override the location used by fastcgi_pass in /etc/nginx/php.conf.
    • Example: php:9000 where php5-fpm is listening on port 9000 on an overlay network where the service is named php
Docker Pull Command
Owner
mbentley
Source Repository