Allow .well-known URI for letsencrypt
See https://letsencrypt.readthedocs.org/en/latest/using.html#webroot
This commit is contained in:
parent
f0b1ba713d
commit
27f420e0a7
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue