Closed firedrow closed 4 years ago
Since you ordered webdav
last, you're only hitting the file_server
. If you're going to use both, you need to put webdav
before file_server
. (Then again, I don't know why or how you'd use both, since differentiating webdav requests from regular file server requests is ambiguous.)
For more info about directive order, please see this wiki article: https://caddy.community/t/composing-in-the-caddyfile/8291/1
I wanted to see if you could clarify something in my Caddyfile, or maybe build. I cannot get /webdav to work with a docker build of Caddy. When I browse to the docker box, I get my test page. When I go to http://dockerip/static to redirect to /static/ and does the browse plugin. So those are working. When I go to http://dockerip/webdav I'm getting 404.
Is the root element of webdav relative to the site blocks root? or is it a full file path?
My Caddyfile:
The Dockerfile builder:
Relevant docker-compose.yml: