HUB
Sign inSign up

antoniocanas/nginx-for-php

By antoniocanas

•Updated almost 10 years ago

nginx-for-php

Image
0

206

antoniocanas/nginx-for-php repository overview

⁠Usage

Use environment variables to change nginx config. Defaults:

# docker-compose.yml

HOST=php            # Could be another Docker service
PORT=9000           # php-fpm port
ROOT=/var/www/html  # Source location
VIRTUAL_HOST=_      # Server name (example.com) use it with jwilder/nginx-proxy

Default SSL keys are located at /etc/nginx/ssl for development. Mount your own there.

Tag summary

Content type

Image

Digest

Size

16 MB

Last updated

almost 10 years ago

docker pull antoniocanas/nginx-for-php