CalDav & CardDav Problems from iOS/OSX

I can’t get OSX and iOS Calendar and Contacts Apps running with Nextcloud in my Docker environment.

I’ve set up the following:

Everything works fine. I can access the webinterface and even if I run from console:

CURL -u myuser -X PROPFIND

it succeeds.

But trying to setup it up with OSX Calendar will cause - - [28/Aug/2016:14:02:48 +0000] "PROPFIND /remote.php/dav/principals/users/myuser/ HTTP/1.1" 401 426 "-" "Mac+OS+X/10.11.6 (15G31) CalendarAgent/361.2"

I tried everything with changing the nginx config but the strange thing is that it works with curl!

EDIT 1: Okay, using ‘digest’ as authentication method results in the same logs.

I resolved this problem but I don’t know how.
Now everything works fine.

Probably this issue was caused by a domain change I did, because I changed my server.