Don't rewrite to https for acme challenges

tags/smeserver-lemonldap-ng-0.2.19-1
Daniel Berteaud 9 years ago
parent d5783289ab
commit 046fa02522
  1. 1
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/LemonLDAPManager/80LemonLDAPManager
  2. 1
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/LemonLDAPPortal/80LemonLDAPPortal
  3. 1
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/LemonLDAPSoap/80LemonLDAPSoap

@ -10,6 +10,7 @@
#====================================================================
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule ^/(.*|\$) https://%{HTTP_HOST}/\$1 \[L,R\]
EOF
}

@ -11,6 +11,7 @@ if ( $port ne ($modSSL{'TCPPort'} || '443')){
#====================================================================
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule ^/(.*|\$) https://%{HTTP_HOST}/\$1 \[L,R\]
EOF

@ -11,6 +11,7 @@ if ( $port ne ($modSSL{'TCPPort'} || '443')){
#====================================================================
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule ^/(.*|\$) https://%{HTTP_HOST}/\$1 \[L,R\]
EOF

Loading…
Cancel
Save