Hi Johan,

your configuration must be broken - correctly configured OPTIONS response cannot break other clients. And also InfCloud does NOT send the OPTIONS request - it is sent by YOUR BROWSER (it is the "preflight" request defined by CORS).

See the CORS specification, e.g.:

https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS


JM


On 27 Feb 2020, at 08:30, Johan Vromans <jvromans@squirrel.nl> wrote:

On Thu, 20 Feb 2020 14:01:58 +0100, Johan Vromans <jvromans@squirrel.nl>
wrote:

Yes, CORS... as always. Setting up CORS in nginx is non-trivial. Sigh.

With some help from the interwebs and a lot of trial and error I got
InfCloud going again in the new setup. But with a twist...

As I can trace it, it seems that InfCloud requires a 204 response on OPTION
queries. The other clients (CalDAV-Sync, DAVx5, vdirsyncer) want the
'normal' 200 response code. I can configure nginx to force return 204 but
that will cause the other clients to stop updating.

So I'm stuck here. Either InfCloud works, or all the other clients.

Am I really the only one running (trying to run) a DAViCal with Nginx?