Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbi <mbi@hacon.de>2015-12-06 01:22:05 +0300
committermbi <mbi@hacon.de>2015-12-06 01:22:26 +0300
commit27f420e0a797f8a56b5e83e8dd8e19df289c766b (patch)
treee2a4448ea428bcdcc47ed2ab64cf50015b235a0a /.htaccess
parentf0b1ba713d377a6af79ef6c8debb9b1fd61aea88 (diff)
Allow .well-known URI for letsencrypt
See https://letsencrypt.readthedocs.org/en/latest/using.html#webroot
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess1
1 files changed, 1 insertions, 0 deletions
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`