Don't rewrite to https for acme challenges

This commit is contained in:
Daniel Berteaud 2016-01-23 14:52:29 +01:00
parent d5783289ab
commit 046fa02522
3 changed files with 3 additions and 0 deletions

View File

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

View File

@ -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

View File

@ -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