If you want cardav and caldav to work you should add this to the proxy settins
```
RewriteEngine On
RewriteRule ^/\.well-known/carddav https://%{SERVER_NAME}/remote.php/dav/ [R=301,L]
RewriteRule ^/\.well-known/caldav https://%{SERVER_NAME}/remote.php/dav/ [R=301,L]
```
For now I add this to apache-custom-rules in compose.yml
```
apache-custom-rules:
- |
RewriteEngine On
RewriteRule ^/\.well-known/carddav https://%{SERVER_NAME}/remote.php/dav/ [R=301,L]
RewriteRule ^/\.well-known/caldav https://%{SERVER_NAME}/remote.php/dav/ [R=301,L]
```
If you want cardav and caldav to work you should add this to the proxy settins
For now I add this to apache-custom-rules in compose.yml