feat: add nextcloud redirects

This commit is contained in:
Stefan Sterz 2019-02-28 19:15:58 +01:00
parent d6e4b47ee9
commit 3c0175fef9
Signed by: sterzy
GPG Key ID: DAE2BE6432FB782A
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Redirect 301 /.well-known/carddav /cloud/remote.php/carddav
Redirect 301 /.well-known/caldav /cloud/remote.php/caldav
Redirect 301 /.well-known/caldav /cloud/remote.php/caldav
Redirect 301 /ocm-provider /cloud/ocm-provider
Redirect 301 /ocs-provider /cloud/ocs-provider
# block files and folders beginning with a dot, such as .git
# except for the .well-known folder, which is used for Let's Encrypt and security.txt