Skip to content

Docker NGINX container to proxy to separate php-fpm container.

License

Notifications You must be signed in to change notification settings

ionphractal/docker-nginx-fpm-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-nginx-fpm-proxy

Latest Nginx setup to proxy to separate php-fpm instance.

Usage

By default, it proxies to api:9000, so if you link the php-fpm container ("api") to nginx, it works out of the box.

Otherwise you can configure the following environment variables:

FPM_BACKEND default: api

FPM_BACKEND_PORT default: 9000

WEBROOT default: /var/www/public

Example

see docker-compose.yml in https://github.com/ionphractal/docker-screeenly

About

Docker NGINX container to proxy to separate php-fpm container.

Resources

License

Stars

Watchers

Forks

Packages

No packages published