Serve + webdav how to protect this webdav with password?

Now serve command can also serve through webdav, not only through http.
How to protect this shared webdav with password or add https to it?

A good question!

For the time being you’ll have to run something like caddy in front of it - that should be quite straight forward.

If you make a new issue on github I’ll have a think about whether rclone should support these things directly.