Skip to content

alfaex/nginx-php-fpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NGINX PHP-FPM

Example on how to separeta nginx from php.

The aim of this is to complitly remove the necessity to put php files on the nginx server.

Allowing to have each docker container in a separeted server

Example:

                / SERVER1 running 5 containers
NGINX SERVER    - SERVER2 running 3 containers
                \ SERVER3 running 5 containers

Docker compose with scale config for reference

$ docker-compose up -d --scale php=3

PS: this repo is a personal reminder of how to setup this php-fmp configuation.

About

Example on how to separeta nginx from php

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages