Can't get rid of "/.well-known/caldav" problem

Yes, that is exactely what is happening!

HTTP/1.1 301 Moved Permanently
Date: Fri, 04 Jun 2021 00:20:06 GMT
Server: Apache/2.4.38 (Debian)
Strict-Transport-Security: max-age=15768000; includeSubDomains
Referrer-Policy: no-referrer
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Robots-Tag: none
X-XSS-Protection: 1; mode=block
Location: http://nextcloud.secureserver.de/remote.php/dav/
Content-Type: text/html; charset=iso-8859-1

I don’t really know how to solve this problem and sadly I don’t understand it as well…

I thought this would do the redirect in the Apache Proxy?

RewriteEngine on
RewriteCond %{SERVER_NAME} =nextcloud.secureserver.de
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

Thank you very much for your help!