Dieses Blog durchsuchen

Montag, 17. April 2017

Nginx with php-fpm site config sample

If you are running nginx with php-fpm you will need a specific site configuration,

Here is a sample of a /etc/nginx/sites-enabled/<my-site>.conf to pass all requests on php files tp php-fpm on port 9000


Note: the php-fpm is a seperate machine or container with php-fpm7.0 on it. On this machine port 9000 must be exposed.


Keine Kommentare:

Kommentar veröffentlichen