sigoden / dufs

A file server that supports static serving, uploading, searching, accessing control, webdav...
Other
5.45k stars 259 forks source link

not use webdav #408

Closed wqiucheng closed 2 weeks ago

wqiucheng commented 2 weeks ago

Hello developer, I don't want to use the webdav function when using a static page. Which command parameter should I use?

sigoden commented 2 weeks ago

@wqiucheng

Run dufs without any --allow-* options.

sigoden commented 2 weeks ago

WebDAV is not returning any new data. The key is avaiable operations and access control.

For example, GET / returns html, PROPFIND / returns xml. They are essentially the same.

You should configure the dufs based on your own needs. It's pointless to worry about whether it enables WebDAV.