Error 401 while using Nextcloud Webdav because of missing nginx/webdav OPTIONS configuration

Hey there,

I’ve opened a bug report on github for the app MyExpenses (a FLOSS budget manager) because I cannot use the webdav-based sync functionality of it and the dev told me to enable the OPTIONS parameter in my nginx configuration which I tried already, but I can’t get it to work.

I’ve added some config options, which i found on several blog posts (here and here) in the global nginx config at /etc/nginx/nginx.conf and in the Nextcloud config at /etc/nginx/conf.d/HOSTNAME/nextcloud.conf , which didn’t work and I really want to fix this behaviour - so I’m asking here for help now :slight_smile:

I appreciate every response!