Closed nestarz closed 4 years ago
I think the issue might be that path matchers are by default exact. Try to change webdav /
to webdav /*
.
It's working ! Thanks a lot !
Oh good, was reading your reply, just tested wrong first time?
And you can just get rid of the matcher entirely: https://caddyserver.com/docs/caddyfile/matchers
Matcher tokens are usually optional. If a matcher token is omitted, it is the same as a wildcard matcher (
*
).
@mholt good point!
@wader Forgot to restart my Caddy server like a rookie 😬 Thanks ! I am trying to use this project to let people mount a folder and share it using the Hyperswarm protocol here https://github.com/nestarz/commoners. Unfortunatly, there is no good Node.js webdav client, so I have to ship a solution with both node and a caddy binary and do tricks to use both ^^, your solution is neat, thanks for doing it
@nestarz aha happens to everyone 😄
Hello, I'm using caddy1 + webdav and would like to migrate, but this version of the webdav plugin gives me empty responses, except on the root path where I get the xml right.
Thanks,
Response (on any request except / )
Caddyfile