[solved] .well-known/caldav check in 13.0.7 explained

i have the following config in /etc/apache2/sites-available/nextcloud.conf

<VirtualHost *:80>
        
        ServerName cloud.mydomain.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html/cloud.mydomain.com

<Directory /var/www/html/cloud.mydomain.com/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted

<IfModule mod_dav.c>
Dav off
</IfModule>

SetEnv HOME /var/www/html/cloud.mydomain.com
SetEnv HTTP_HOME /var/www/html/cloud.mydomain.com
Satisfy Any

</Directory>

        Redirect 301 /.well-known/carddav /var/www/html/cloud.mydomain.com/remote.php/dav
        Redirect 301 /.well-known/caldav /var/www/html/cloud.mydomain.com/remote.php/dav

        ErrorLog ${APACHE_LOG_DIR}/cloud.mydomain.com-error.log
        CustomLog ${APACHE_LOG_DIR}/cloud.mydomain.com-access.log combined

</VirtualHost>

and i still have the error bellow

There are some warnings regarding your setup.

* Your web server is not properly set up to resolve "/.well-known/caldav". Further information can be found in the [documentation](https://docs.nextcloud.com/server/14/go.php?to=admin-setup-well-known-URL).
* Your web server is not properly set up to resolve "/.well-known/carddav". Further information can be found in the [documentation](https://docs.nextcloud.com/server/14/go.php?to=admin-setup-well-known-URL).

Please double check the [installation guides ↗](https://docs.nextcloud.com/server/14/go.php?to=admin-install), and check for any errors or warnings in the [log]

i have my nextcloud instalation behind an apache proxy and i’m using also CloudFlare, any ideea what could be the issue ?

based on this Problem Version 14.0.3 in my /etc/apache2/apache2.conf

i have the following

  <Directory /var/www/>
            Options FollowSymLinks
            AllowOverride All
            Require all granted
    </Directory>

and the error it’s still present