vscode-sync-settings
vscode-sync-settings copied to clipboard
DAV does not work with NGINX server
Extension causes these errors on server log:
DELETE "/.../vscode/.profiles" failed (21: Is a directory), request: "DELETE /.../vscode/.profiles HTTP/1.1"
Request to delete a collection should have a trailing slash. It could be fixed by server-side rewrite, though, but in that case there will be following error:
both URI "/.../vscode/.profiles/" and "Destination" URI "https://.../.../vscode/profiles" should be either collections or non-collections, request: "MOVE /.../vscode/.profiles HTTP/1.1"
Or, if remove forementioned rewrite for this request, it would be:
"/.../vscode/.profiles" is collection, request: "MOVE /.../vscode/.profiles HTTP/1.1"
Request to move a collection should also have a trailing slash, both in source and destination names. But this one, unfortunately, is not fixable on server side, since target collection could is not be rewritten.