Resolve "/.well-known/caldav"

Your web server is not properly configured to resolve “/.well-known/something.

Hello @plantarum

There may be different variants here, but we use these to solve the problem:

We create with

sudo nano /etc/apache2/sites-enabled/000-default-le-ssl.conf
A new config file and add the following content:

<IfModule mod_headers.c>
  Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains; strict-origin; preload"
  Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav
  Redirect 301 /.well-known/caldav /nextcloud/remote.php/dav
</IfModule>

Since the NextCloud is in the subfolder /nextcloud in our case, you have to specify this folder. If you have not followed our instructions, you can omit the /nextcloud.

To be on the safe side, we are now also changing the document root of the default ssl file

sudo nano /etc/apache2/sites-available/default-ssl.conf
to /var/www/wordpress.

Then that would be solved!

Hope this guide will help you. Feel free to visit our website; there are several troubleshooting guides.

Best regards,
schBenedikt

https://url.schächner.de/73e and
https://technik.schächner.de/blog/2022/08/05/sicherheits-und-einrichtungswarnungen-nextcloud/