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/)){
|
elsif (($ssl =~ m/^enabled|yes|on|1$/i) || ($auth =~ /^LemonLDAP/)){
|
||||||
$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…
Reference in New Issue
Block a user