Skip to content

Commit 3713dc8

Browse files
committed
- Make Apps nginx vhost talk to the correct PHP-FPM port.
1 parent 3b273a3 commit 3713dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/apps_vhost_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function update($event_name,$data) {
122122
$content = str_replace('{apps_vhost_port}', $web_config['apps_vhost_port'], $content);
123123
$content = str_replace('{apps_vhost_dir}', $web_config['website_basedir'].'/apps', $content);
124124
$content = str_replace('{apps_vhost_servername}', $apps_vhost_servername, $content);
125-
$content = str_replace('{fpm_port}', $web_config['php_fpm_start_port'], $content);
125+
$content = str_replace('{fpm_port}', $web_config['php_fpm_start_port']+1, $content);
126126
}
127127

128128
file_put_contents("$vhost_conf_dir/apps.vhost", $content);

0 commit comments

Comments
 (0)