nginx-dav-ext-module
nginx-dav-ext-module copied to clipboard
macOS client cannot use nginx-webdav
Server: Ubuntu 19.04 nginx-full 1.15.9-0ubuntu1.1 Client: macOS Mojave 10.14.6 Linux-client: davfs2 1.5.4-3, Ubuntu 19.04 Ubuntu has some oldie that do not support locks LOCK UNLOCK
Action: cp -an to server
macOS: mount_webdav -i http://1.2.3.4/uri /localdirectory
- every directory gives Error 20 nginx log for every directory:
2019/09/22 11:26:58 [error] 24773#24773: *1 open() "/…" failed (2: No such file or directory), client: 192.168.1.77, server: , request: "GET /… HTTP/1.1", host: "192.168.1.125"
2019/09/22 11:26:58 [alert] 24773#24773: *1 dav_ext stat failed on '/…' (2: No such file or directory), client: 192.168.1.77, server: , request: "PROPFIND /… HTTP/1.1", host: "192.168.1.125"
nothing is copied retry same result
Linux client: first cp ends in error subsequent cp works without data corruption
server {
listen 80;
listen [::]:80;
location /tostorage {
auth_basic realm_name;
auth_basic_user_file /etc/nginx/.passwords.list;
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS;
dav_access user:rw group:rw all:r;
client_body_temp_path /var/nginx/client-bodies;
client_max_body_size 0;
create_full_put_path on;
root /mnt/rwstore;
}
}