Skip to content

Commit d33fd26

Browse files
author
Nedim Hadzimahmutovic
committed
FS#3264 - Put domain name in php-fom pool name
1 parent 6b1d788 commit d33fd26

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

install/tpl/apps_php_fpm_pool.conf.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[{fpm_pool}]
1+
[{fpm_pool}-{fpm_domain}]
22

33
listen = {fpm_socket}
44
listen.owner = {fpm_user}

server/conf/apps_php_fpm_pool.conf.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[{fpm_pool}]
1+
[{fpm_pool}-{fpm_domain}]
22

33
listen = {fpm_socket}
44
listen.owner = {fpm_user}

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2719,6 +2719,7 @@ private function php_fpm_pool_update ($data, $web_config, $pool_dir, $pool_name,
27192719
$tpl->setVar('fpm_port', $web_config['php_fpm_start_port'] + $data['new']['domain_id'] - 1);
27202720
$tpl->setVar('fpm_user', $data['new']['system_user']);
27212721
$tpl->setVar('fpm_group', $data['new']['system_group']);
2722+
$tpl->setVar('fpm_domain', $data['new']['domain']);
27222723
$tpl->setVar('pm', $data['new']['pm']);
27232724
$tpl->setVar('pm_max_children', $data['new']['pm_max_children']);
27242725
$tpl->setVar('pm_start_servers', $data['new']['pm_start_servers']);

0 commit comments

Comments
 (0)