diff -Nur --no-dereference smeserver-softethervpn-server-4.34.old/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/35SSL00Listen443 smeserver-softethervpn-server-4.34/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/35SSL00Listen443 --- smeserver-softethervpn-server-4.34.old/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/35SSL00Listen443 2021-03-30 18:48:42.959000000 -0400 +++ smeserver-softethervpn-server-4.34/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/35SSL00Listen443 1969-12-31 19:00:00.000000000 -0500 @@ -1,25 +0,0 @@ -{ - my $listen_default = "Listen 0.0.0.0:$httpsPort"; - - my $mode = $SystemMode || "serveronly"; - - return $listen_default if ($mode eq "serveronly"); - - my $httpdAccess = ${'httpd-e-smith'}{access} || 'private'; - - my $httpsOnlyLocal = ${'httpd-e-smith'}{httpsOnlyLocal} || 'disabled'; - - return $listen_default unless ($httpdAccess eq "private") || ($httpsOnlyLocal eq "enabled"); - - # Only selectively bind interfaces if we are in private server/gateway mode - - my @ipAddresses = ("127.0.0.1", $LocalIP); - - # Remove any duplicate IP addresses - my %ipAddresses = map { $_ => 1 } @ipAddresses; - foreach my $ip (sort keys %ipAddresses) - { - $OUT .= "Listen $ip:$httpsPort\n"; - } -} -