letsencrypt excemption for https redirect
This commit is contained in:
parent
4ff5d2f53a
commit
fcfb3101ce
@ -193,6 +193,7 @@ sub apache {
|
|||||||
$c .= " ErrorLog $logbase.notls.err.log\n".
|
$c .= " ErrorLog $logbase.notls.err.log\n".
|
||||||
" CustomLog $logbase.notls.log detailed\n".
|
" CustomLog $logbase.notls.log detailed\n".
|
||||||
" RewriteEngine On\n".
|
" RewriteEngine On\n".
|
||||||
|
" RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/\n".
|
||||||
" RewriteRule ^/(.*) https://%{HTTP_HOST}/\$1 [R,L]\n".
|
" RewriteRule ^/(.*) https://%{HTTP_HOST}/\$1 [R,L]\n".
|
||||||
"</VirtualHost>\n".
|
"</VirtualHost>\n".
|
||||||
"<VirtualHost *:443>\n";
|
"<VirtualHost *:443>\n";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user