fix: fix nextcloud well-known in .htaccess
This commit is contained in:
parent
93df7bc669
commit
d6e4b47ee9
1 changed files with 4 additions and 4 deletions
|
@ -16,8 +16,8 @@
|
||||||
RewriteCond %{ENV:HTTPS} !=on
|
RewriteCond %{ENV:HTTPS} !=on
|
||||||
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
|
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
|
||||||
|
|
||||||
Redirect 301 /.well-known/carddav /owncloud/remote.php/carddav
|
Redirect 301 /.well-known/carddav /cloud/remote.php/carddav
|
||||||
Redirect 301 /.well-known/caldav /owncloud/remote.php/caldav
|
Redirect 301 /.well-known/caldav /cloud/remote.php/caldav
|
||||||
|
|
||||||
# block files and folders beginning with a dot, such as .git
|
# 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
|
# except for the .well-known folder, which is used for Let's Encrypt and security.txt
|
||||||
|
|
Loading…
Reference in a new issue