This is the exact same issue as HTTP Service closed (Port 80 Closed)
Me.B I did a push to master branch with this fix. https://github.com/sentora/sentora-core/...76e30f3509
This is where the issue is in /modules/apache_admin/hooks/OnDeamonRun.hook.php lines 60-63:
My suggested work around which seems to work for now unless there is a better way is:
Me.B I did a push to master branch with this fix. https://github.com/sentora/sentora-core/...76e30f3509
Quote:Fixes issue if not using any sites on port 80
Example: All sites are using SSL, Listen 80 was not being added to the
httpd-vhosts.conf file to allow redirect from 80 to 443.
This is where the issue is in /modules/apache_admin/hooks/OnDeamonRun.hook.php lines 60-63:
PHP Code:
while ($rowport = $portQuery->fetch()) {
$customPorts[] = (empty($rowport['vh_custom_port_in'])) ? $VHostDefaultPort : $rowport['vh_custom_port_in'];
}
$customPortList = array_unique($customPorts);
My suggested work around which seems to work for now unless there is a better way is:
PHP Code:
while ($rowport = $portQuery->fetch()) {
$customPorts[] = (empty($rowport['vh_custom_port_in'])) ? $VHostDefaultPort : $rowport['vh_custom_port_in'];
}
// Adds default vhost port to Listen port array
$customPorts[] = $VHostDefaultPort;
$customPortList = array_unique($customPorts);