Notes:
This image use php 5.6
Entry point:
The entry point will check for presence of two environement variables:
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:
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
Content type
Image
Digest
Size
110.7 MB
Last updated
over 9 years ago
docker pull cvidal/nginxphp