Skip to content

Commit 1b0ffe4

Browse files
author
Marius Burkard
committed
Merge branch 'patch-2' into 'master'
Patch 2 See merge request ispconfig/ispconfig3!836
2 parents d93e2d6 + 89a6f6e commit 1b0ffe4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/lib/installer_base.lib.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ public function configure_apps_vhost() {
20172017
$content = str_replace('{use_socket}', $use_socket, $content);
20182018

20192019
// SSL in apps vhost is off by default. Might change later.
2020-
$content = str_replace('{ssl_on}', 'off', $content);
2020+
$content = str_replace('{ssl_on}', '', $content);
20212021
$content = str_replace('{ssl_comment}', '#', $content);
20222022

20232023
// Fix socket path on PHP 7 systems
@@ -2450,11 +2450,11 @@ public function install_ispconfig() {
24502450
$content = str_replace('{vhost_port}', $conf['nginx']['vhost_port'], $content);
24512451

24522452
if(is_file($install_dir.'/interface/ssl/ispserver.crt') && is_file($install_dir.'/interface/ssl/ispserver.key')) {
2453-
$content = str_replace('{ssl_on}', 'on', $content);
2453+
$content = str_replace('{ssl_on}', ' ssl', $content);
24542454
$content = str_replace('{ssl_comment}', '', $content);
24552455
$content = str_replace('{fastcgi_ssl}', 'on', $content);
24562456
} else {
2457-
$content = str_replace('{ssl_on}', 'off', $content);
2457+
$content = str_replace('{ssl_on}', '', $content);
24582458
$content = str_replace('{ssl_comment}', '#', $content);
24592459
$content = str_replace('{fastcgi_ssl}', 'off', $content);
24602460
}

0 commit comments

Comments
 (0)