Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 632 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 632 Bytes

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.