Merge pull request #399 from hypernics/alias_redirect

Change redirect host from main domain name to requested domain name, refs #1670
This commit is contained in:
Michael Kaufmann
2016-12-11 08:05:57 +01:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -442,7 +442,7 @@ class lighttpd extends HttpConfigBase
$_sslport = ":" . $ssldestport['port'];
}
$domain['documentroot'] = 'https://' . $domain['domain'] . $_sslport . '/';
$domain['documentroot'] = 'https://%1' . $_sslport . '/';
}
// avoid using any whitespaces