Skip to content

Commit 1347213

Browse files
author
Till Brehm
committed
Fixed SSL issue in apps vhost.
1 parent 13c1efb commit 1347213

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

install/dist/lib/gentoo.lib.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,11 @@ public function configure_apps_vhost()
774774
//$content = str_replace('{fpm_port}', ($conf['nginx']['php_fpm_start_port']+1), $content);
775775
$content = str_replace('{fpm_socket}', $fpm_socket, $content);
776776
$content = str_replace('{cgi_socket}', $cgi_socket, $content);
777-
777+
778+
// SSL in apps vhost is off by default. Might change later.
779+
$content = str_replace('{ssl_on}', 'off', $content);
780+
$content = str_replace('{ssl_comment}', '#', $content);
781+
778782
wf($vhost_conf_dir.'/apps.vhost', $content);
779783

780784
// PHP-FPM

install/lib/installer_base.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,6 +2075,10 @@ public function configure_apps_vhost() {
20752075
}
20762076
$content = str_replace('{use_tcp}', $use_tcp, $content);
20772077
$content = str_replace('{use_socket}', $use_socket, $content);
2078+
2079+
// SSL in apps vhost is off by default. Might change later.
2080+
$content = str_replace('{ssl_on}', 'off', $content);
2081+
$content = str_replace('{ssl_comment}', '#', $content);
20782082

20792083
wf($vhost_conf_dir.'/apps.vhost', $content);
20802084

0 commit comments

Comments
 (0)