wordpress-nginx - Nginx server configurations for WordPress
Looking for a modern hosting environment provisioned using Ansible? Check out WordPress Ansible. The php-fpm pool configuration is located in global/php-pool.conf and defaults to PHP 7.1. It will need modified if you want the default php-fpm pool service to be a different PHP version. Additional PHP version upstream definitions can be added to the /upstreams folder (a PHP 7.0 sample is provided there). You can either use the default pool using $upstream in your nginx configurations or the specific upstream definition (i.e. php71, php70) setup by your custom upstream definitions.