yup! just need to add the webdav extension and configure it up a path and user/pass. caddy handles everything else.
https://dav.sour.is {
tls jon@xuu.cc
basicauth /xuu {
xuu $2a$...
}
webdav * {
root /var/www/dav
}
}
password is generated using caddy hash-password
and you can even mount it on windows/linux/os x!
its a notebook tool like evernote. @sorenpeter@darch.dk linked it above: https://joplinapp.org/
it is an addon in the download tool. Or you can use xcaddy to build it in.