Don't force SSL for acme challenges URI
This commit is contained in:
parent
5a23a1aba2
commit
7fcbedf350
|
@ -8,6 +8,7 @@
|
|||
elsif (($ssl =~ m/^enabled|yes|on|1$/i) || ($auth =~ /^LemonLDAP/)){
|
||||
$OUT .=<<'EOF';
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
|
||||
RewriteRule ^/(.*|$) https://%{HTTP_HOST}/$1 [L,R]
|
||||
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue