Allow .well-known URI for letsencrypt

See https://letsencrypt.readthedocs.org/en/latest/using.html#webroot
This commit is contained in:
mbi 2015-12-05 23:22:05 +01:00
parent f0b1ba713d
commit 27f420e0a7
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L] RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
RewriteRule ^remote/(.*) remote.php [QSA,L] RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteRule ^(build|tests|config|lib|3rdparty|templates)/.* - [R=404,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] RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
# Rewrite rules for `front_controller_active` # Rewrite rules for `front_controller_active`