项目作者: alleotech

项目描述 :
Docker container for Nginx with PHP-FPM
高级语言: Dockerfile
项目地址: git://github.com/alleotech/docker-nginx-php-fpm.git
创建时间: 2019-08-08T06:41:30Z
项目社区:https://github.com/alleotech/docker-nginx-php-fpm

开源协议:MIT License

下载


nginx-php-fpm

About

Nginx + PHP-FPM Docker image by AlleoTech Ltd.

Usage

  1. 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.