Looking at my server logs, it seems the cause is that in some situations, the plugin does not append `/` appropriately to collection names when it SHOULD do so.
Code: Select all
600 MKCOL can create a collection only, [...], request: "MKCOL /webdav/test HTTP/2.0"
758 "/webdav/test" is collection, [...], request: "MOVE /webdav/test HTTP/1.1"
1055 both URI "/webdave/old/" and "Destination" URI "https://www.example.org/webdav/new" should be either collections or non-collections, [...], request: "MOVE /webdav/old HTTP/1.1"
The nginx developers appear to refuse to support this. See for example:
* https://trac.nginx.org/nginx/ticket/1966
* https://trac.nginx.org/nginx/ticket/604
I tried the nginx configuraion suggestions at https://www.robpeck.com/2020/06/making-webdav-actually-work-on-nginx/ but could not make everything work (the nginx "if" command is very nonintuitive and I don't understand it).
Are there any plans to correct the plugin behaviour?
Until then, does anyone know of a config for nginx to allow full functionality?