Webdav - hot to setup one instance different permissions

How do apache an nginx configure it? Maybe rclone should take a leaf from their book?