location ~ ^/~(.+?)/(.*)$ { if ($user != $1) {return 403;} alias /home/$1/$2; auth_pam "Restricted"; auth_pam_service_name "nginx"; dav_methods PUT DELETE MKCOL COPY MOVE; dav_access group:rw all:r; create_full_put_path on; } Can this be implemented pleas?