/[smeserver]/rpms/e-smith-apache/sme10/e-smith-apache-2.6.0-bz11551-httpsForceLocalOnly.patch
ViewVC logotype

Annotation of /rpms/e-smith-apache/sme10/e-smith-apache-2.6.0-bz11551-httpsForceLocalOnly.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Mar 30 23:05:15 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-apache-2_6_0-20_el7_sme, e-smith-apache-2_6_0-23_el7_sme, e-smith-apache-2_6_0-21_el7_sme, e-smith-apache-2_6_0-22_el7_sme, e-smith-apache-2_6_0-19_el7_sme, e-smith-apache-2_6_0-14_el7_sme, e-smith-apache-2_6_0-18_el7_sme, e-smith-apache-2_6_0-17_el7_sme, e-smith-apache-2_6_0-15_el7_sme, e-smith-apache-2_6_0-16_el7_sme, HEAD
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme
- add possibility to force https on LAN only [SME: 11511]
  usefull for VPN over port 443

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    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed