From 27f420e0a797f8a56b5e83e8dd8e19df289c766b Mon Sep 17 00:00:00 2001
From: mbi <mbi@hacon.de>
Date: Sat, 5 Dec 2015 23:22:05 +0100
Subject: [PATCH] Allow .well-known URI for letsencrypt

See https://letsencrypt.readthedocs.org/en/latest/using.html#webroot
---
 .htaccess | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.htaccess b/.htaccess
index 4f2a6f35af4..cb2cc9cf7e3 100644
--- a/.htaccess
+++ b/.htaccess
@@ -42,6 +42,7 @@
   RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
   RewriteRule ^remote/(.*) remote.php [QSA,L]
   RewriteRule ^(build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
+  RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
   RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
 
   # Rewrite rules for `front_controller_active`
-- 
GitLab