Sign inSign up

alleotech/nginx-php

By alleotech

Updated almost 6 years ago

Nginx with PHP-FPM

Image
0

100K+

alleotech/nginx-php repository overview

nginx-php-fpm

About

Nginx + PHP-FPM Docker image by AlleoTech Ltd.

Usage

docker exec -p 80:80 alleotech/nginx-php

Handy Paths

  • nginx include: /etc/nginx/conf.d//.conf
  • nginx vhosts' webroots: /var/www/html//webroot/
  • nginx logs: /var/log/nginx/

Ideally the above ones should be mounted from docker host and container nginx configuration (see vhost.conf for example), site files and place to right logs to.

Both php-fpm and nginx run under nobody inside the container

Exposes port 80 for nginx.

Tag summary

Content type

Image

Digest

Size

193.9 MB

Last updated

almost 6 years ago

docker pull alleotech/nginx-php