1 |
jpp |
1.1 |
diff -Nur --no-dereference e-smith-apache-2.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL00Listen443 e-smith-apache-2.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL00Listen443 |
2 |
|
|
--- e-smith-apache-2.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL00Listen443 2021-03-30 19:01:25.598000000 -0400 |
3 |
|
|
+++ e-smith-apache-2.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL00Listen443 2021-03-30 19:01:46.985000000 -0400 |
4 |
|
|
@@ -7,7 +7,9 @@ |
5 |
|
|
|
6 |
|
|
my $httpdAccess = ${'httpd-e-smith'}{access} || 'private'; |
7 |
|
|
|
8 |
|
|
- return $listen_default unless ($httpdAccess eq "private"); |
9 |
|
|
+ my $httpsOnlyLocal = ${'httpd-e-smith'}{httpsOnlyLocal} || 'disabled'; |
10 |
|
|
+ |
11 |
|
|
+ return $listen_default unless ($httpdAccess eq "private") || ($httpsOnlyLocal eq "enabled"); |
12 |
|
|
|
13 |
|
|
# Only selectively bind interfaces if we are in private server/gateway mode |
14 |
|
|
|