Hi! I still don’t quite understand what’s wrong with my setup, if I get a
_* Your web server is not properly set up to resolve “/.well-known/caldav”. _ * Your web server is not properly set up to resolve “/.well-known/carddav”.
message after update to 13.0.7.
My https://cloud.example.com/.well-known/caldav & carddav links forward me to https://cloud.example.com/remote.php/dav just fine, DAV clients works fine. I don’t see any issues after an upgrade except these warnings. I did tried to add the “Redirect 301…” lines to the httpd config, but it didn’t change anything. I have a NC + Apache behind the Traefik proxy.
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 ?
so i did the change on the vhost where my nexcloud instalation is (behind the proxy) so my vhost looks like this now :
<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 /remote.php/dav
Redirect 301 /.well-known/caldav /remote.php/dav
ErrorLog ${APACHE_LOG_DIR}/cloud.mydomain.com-error.log
CustomLog ${APACHE_LOG_DIR}/cloud.mydomain.com-access.log combined
</VirtualHost>
but the error it’s still present
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).
I’m a bit confused by that warning, as everything seems to work, but I have to admit, that I’m not using carddav or caldav anyway. This is my setup:
I’m running nextcloud 14.0.3 in a subfolder behind an apache reverse-proxy, thus, on proxy side: https://cloud.xxxxx.xx ----> 192.168.x.x/nextcloud (no https on the internal host).
This works fine, I get an A+ rating on the security scanner and everything is working.
When I try https://cloud.xxxxx.xx/.well-known/carddav I get redirected to https://cloud.xxxxx.xx/remote.php/dav/ and can see the “Nodes” page from sabre/dav in my browser, so this works too.