diff options
author | mbi <mbi@hacon.de> | 2015-12-05 23:22:05 +0100 |
---|---|---|
committer | mbi <mbi@hacon.de> | 2015-12-05 23:22:26 +0100 |
commit | 27f420e0a797f8a56b5e83e8dd8e19df289c766b (patch) | |
tree | e2a4448ea428bcdcc47ed2ab64cf50015b235a0a /.htaccess | |
parent | f0b1ba713d377a6af79ef6c8debb9b1fd61aea88 (diff) | |
download | nextcloud-server-27f420e0a797f8a56b5e83e8dd8e19df289c766b.tar.gz nextcloud-server-27f420e0a797f8a56b5e83e8dd8e19df289c766b.zip |
Allow .well-known URI for letsencrypt
See https://letsencrypt.readthedocs.org/en/latest/using.html#webroot
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 1 |
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` |