Don't force SSL for acme challenges URI

tags/0.2.2_el5 0.2.2_el5
Daniel Berteaud 9 years ago
parent 0abf07cf1d
commit a37e1f8fc1
  1. 1
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/UserManagerVirtualHost/25SSLDirectives

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

Loading…
Cancel
Save