|
|
@ -51,7 +51,8 @@ Alias /php-cgi-bin/php$key-wrapper /var/www/php-cgi-bin/php$key-wrapper |
|
|
|
FastCgiExternalServer /var/www/php-cgi-bin/php$key-wrapper -socket /var/run/php-fpm/$socket -pass-header Authorization -idle-timeout 120 |
|
|
|
FastCgiExternalServer /var/www/php-cgi-bin/php$key-wrapper -socket /var/run/php-fpm/$socket -pass-header Authorization -idle-timeout 120 |
|
|
|
|
|
|
|
|
|
|
|
_EOF |
|
|
|
_EOF |
|
|
|
# Custom PHP pools |
|
|
|
} |
|
|
|
|
|
|
|
$OUT .= "# Custom PHP pools\n"; |
|
|
|
foreach my $pool ($p->get_all_by_prop(type => 'pool')){ |
|
|
|
foreach my $pool ($p->get_all_by_prop(type => 'pool')){ |
|
|
|
next if ($pool->prop('status' || 'enabled') ne 'enabled'); |
|
|
|
next if ($pool->prop('status' || 'enabled') ne 'enabled'); |
|
|
|
my $key = $pool->key; |
|
|
|
my $key = $pool->key; |
|
|
|