1.1 KiB
1.1 KiB
Caddy with http.handlers.webdav module
modified from the instruction from @cyruz-git in https://github.com/remotely-save/remotely-save/issues/825
Link
https://caddyserver.com/download?package=github.com%2Fmholt%2Fcaddy-webdav
Steps
- Download caddy with webdav module from https://caddyserver.com/download?package=github.com%2Fmholt%2Fcaddy-webdav. Or you can install Caddy then install the plugins.
- Create a folder for storing webdav server files. Like
/usr/local/mywebdav. - Create a
Caddyfile(yeah the file name itself isCaddyfile.) like this:
The password hash is generated like this.:8080 { route /dav/* { root /usr/local/mywebdav basicauth { # Username "Bob", password "hiccup" Bob $2a$14$Zkx19XLiW6VYouLHR5NmfOFU0z2GTNmpkT/5qqR7hx4IjWJPDhjvG } uri strip_prefix /dav webdav } } - In Remotely Save, setup:
- address
http://localhost:8080/dav/ - username
Bob - password
hiccup - auth type:
basic
- address
- Check the connection and sync!