Hello I use HAProxy as a reverse proxy to terminate SSL connections towards all my VMs. So far so good except with Owncloud and CalDav.
When Owncloud is hidden behind HAProxy, I am not able to configure my CalDav account under the Calendar app in Mac OS X (it works fine on iOS or Android). If I bypass HAProxy and terminate the connection directly on Apache server on my Owncloud VM, I am able to add the account in the OS X Calendar, hence why I suspect HAProxy being the problem. When HAProxy is in front of my Owncloud VM, I can see the following happening in the Apache access logs: 10.10.10.118 - - [11/Nov/2016:14:12:54 +0000] "PROPFIND /.well-known/caldav HTTP/1.1" 301 577 "-" "Mac+OS+X/10.11.6 (15G1108) accountsd/113" 10.10.10.118 - - [11/Nov/2016:14:12:54 +0000] "PROPFIND / HTTP/1.1" 405 996 "-" "Mac+OS+X/10.11.6 (15G1108) accountsd/113" 10.10.10.118 - - [11/Nov/2016:14:12:55 +0000] "PROPFIND /caldav/v2 HTTP/1.1" 405 1002 "-" "Mac+OS+X/10.11.6 (15G1108) accountsd/113" 10.10.10.118 - - [11/Nov/2016:14:12:55 +0000] "PROPFIND /principals/users/wikus/ HTTP/1.1" 405 1006 "-" "Mac+OS+X/10.11.6 (15G1108) accountsd/113" 10.10.10.118 - - [11/Nov/2016:14:12:55 +0000] "PROPFIND /principals/ HTTP/1.1" 405 1002 "-" "Mac+OS+X/10.11.6 (15G1108) accountsd/113" 10.10.10.118 - - [11/Nov/2016:14:12:55 +0000] "PROPFIND /dav/principals/ HTTP/1.1" 405 1000 "-" "Mac+OS+X/10.11.6 (15G1108) accountsd/113 and I am unable to explain it…. Do we need to have a specific conf for CalDav ? (by the way Cardav has the same issue). Thank you :)

