You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
location /webdav {
alias /data/;
autoindex on;
set $dest $http_destination;
if (-d $request_filename) {
rewrite ^(.*[^/])$ $1/;
set $dest $dest/;
}
if ($request_method ~ (MOVE|COPY)) {
add_header 'Destination: $dest' always;
}
if ($request_method ~ MKCOL) {
rewrite ^(.*[^/])$ $1/ last;
}
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS LOCK UNLOCK;
dav_access user:rw group:rw all:r;
create_full_put_path on;
auth_basic "Restricted access";
auth_basic_user_file /etc/nginx/htpasswd.conf;
client_body_temp_path /tmp/nginx;
client_max_body_size 0;
client_body_timeout 36000s;
}
I compiled the dav_ext module myself. sudo nginx -t shows conf is ok and nginx also runs ok, other methods like PROPFIND is ok too, but still get 405 not allowed for LOCK method.
OS ubuntu 19.10
nginx conf
I compiled the dav_ext module myself.
sudo nginx -t
shows conf is ok and nginx also runs ok, other methods like PROPFIND is ok too, but still get 405 not allowed for LOCK method.access.log
No other error log, did I miss something?
The text was updated successfully, but these errors were encountered: