Testing out all the different directives, but having some issues with browse, just getting 404.
My Caddyfile:
i.example.net {
tls redacted@email.tld
root /var/www/i
browse /upload
upload {
to "/var/www/i/upload"
}
}
I'm running caddy as a systemd service, using this:
https://github.com/mholt/caddy/blob/master/dist/init/linux-systemd/caddy.service
I've modified that to add `CAP_LEASE` for upload (as suggested, not sure if needed), and added the directory `/var/www/i` to `ReadWriteDirectories`, but no dice.
And yes, the owner of that directory is `www-data`.