Public Repository

Last pushed: a year ago
Short Description
Nginx serer with php-fpm
Full Description

Notes:

This image use php 5.6

Entry point:

The entry point will check for presence of two environement variables:

  • VIRTUAL_HOST
  • VIRTUAL_HOST_ALIAS

VIRTUAL_HOST is mandatory.

Both variables must contains a coma separated list of domain name that will be used to configure nginx server
Those domain list are converted to a nginx server_name statement stored in:

  • /conf/nginx/virtual_host.conf for VIRTUAL_HOST
  • /conf/nginx/virtual_host_alias.conf for VIRTUAL_HOST_ALIAS

Thoses files can then be included in project specific configuration to simplifie configuration

Config notes:

The nginx configuration stored in this image is NOT complete,
users of this image MUST provide a nginx config file at the following place:
/conf/nginx/sites-enabled/sites.conf;

It must contain the nginx server block and include the /conf/nginx/virtual_host.conf file

Config:

environment:
   - VIRTUAL_HOST=nom-de-domaine.com 
   - VIRTUAL_HOST_ALIAS=alias-nom-de-domaine.com
Docker Pull Command
Owner
cvidal