Don't force SSL for acme challenges URI

This commit is contained in:
Daniel Berteaud 2016-01-23 16:35:22 +01:00
parent 88d7198286
commit 0eba302138
1 changed files with 1 additions and 0 deletions

View File

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