Skip to content
Snippets Groups Projects
Commit 3713dc82 authored by Falko Timme's avatar Falko Timme
Browse files

- Make Apps nginx vhost talk to the correct PHP-FPM port.

parent 3b273a39
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ class apps_vhost_plugin {
$content = str_replace('{apps_vhost_port}', $web_config['apps_vhost_port'], $content);
$content = str_replace('{apps_vhost_dir}', $web_config['website_basedir'].'/apps', $content);
$content = str_replace('{apps_vhost_servername}', $apps_vhost_servername, $content);
$content = str_replace('{fpm_port}', $web_config['php_fpm_start_port'], $content);
$content = str_replace('{fpm_port}', $web_config['php_fpm_start_port']+1, $content);
}
file_put_contents("$vhost_conf_dir/apps.vhost", $content);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment