1. Caddy version (caddy version
):
v2.1.1
2. How I run Caddy:
Runit
a. System environment:
VoidLinux
b. Command:
`./caddy run --adapter caddyfile --config /wiki`
d. My complete Caddyfile or JSON config:
:80
try_files {path}.html
encode gzip
root * /data
webdav {
root /data
}
3. The problem I’m having:
Trying to migrate Caddyfile v1 to Caddyfile v2
4. Error messages and/or full log output:
run: adapting config using caddyfile: directive 'webdav' is not ordered, so it cannot be used here
5. What I already tried:
Well since I do not understand what this error message means, I just changed the webdav directive to tho one above.