Nginx + PHP-FPM Docker image by AlleoTech Ltd.
docker exec -p 80:80 alleotech/nginx-php
- 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.