-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
I have Nextcloud 14.0.3 running on a port different than 80. Nginx is configured according to the documentation. Though, Security & setup warnings shows up
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".
I guess that the redirect in the nginx configuration redirects only to the standard ports 80/443. I haven't found out how to add the correct port dynamically yet.
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
Steps to reproduce
- Install Nextcloud
- setup nginx according to documentation
Expected behaviour
No warnings should be displayed.
Actual behaviour
I get two warnings mentioned above:
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".
Server configuration
Operating system: Ubuntu 18.04
Web server: nginx
Database: mariaDB
PHP version: 7.2
Nextcloud version: 14.0.3
Updated from an older Nextcloud/ownCloud or fresh install: updated