When a Non-Windows client tries to connect to the WebDAV server at cdn.example.com/upload
(using the user/password provided)
the client cannot see any files on the filesystem but can upload.
The majority of clients that can upload, upload a non-existent file and the logs show error 412
<redacted IP adress for client privacy> - up [30/Jun/2019:19:47:01 -0700] "PUT /upload/random.txt HTTP/1.1" 412 19
this is using the webdav plugin with basicauth
this is my caddyfile
https://cdn.example.com/upload, http://cdn.example.com/upload {
basicauth / up load
log /opt/caddy/log/cdn_upload.log
webdav / {
scope /opt/caddy/cdn
modify true
}
}