Automatic pools for PHP-FPM + Nginx

1 post / 0 new
#1 Sat, 02/03/2018 - 15:54
Mc2systems

Automatic pools for PHP-FPM + Nginx

Hi, I have installed Virtualmin on Centos 7, also I have installed modules: - Nginx PHP-FPM website - Nginx website - Nginx SSL website For first domain D1.domain.pl I have created virtual host, and I see that php-pool is also created.

When I try add second vhost D2.domain.pl I receive error: "Failed to create virtual server : Nginx FPM cannot be enabled for a domian that has an Nginx website"

Is there any method for automatically create PHP-Pool for every single domain, when I create a new vhost?

Can You help me?

Maciej