3 ms·
I love caddy. Most recently, I used it for a small personal project where I wanted to be able to upload files via Webdav and serve them out over HTTPS. I can't
by mmh0000 3y ago
I love caddy. Most recently, I used it for a small personal project where I wanted to be able to upload files via Webdav and serve them out over HTTPS. I can't believe how small the configuration for this setup is. Especially if you compare it to something like Apache:
```
{
order webdav before file_server
log {
level DEBUG
}
}
files.example.org {
log {
output stdout
format json
}
@notget {
not method GET
}
root * /srv/ssftp
route @notget {
basicauth {
bob $2y$10$f/asdasd.asdsadasd.asdasdasd
}
webdav
}
file_server browse
}
```
The integrated LetsEncrypt support makes life so much easier than a comparable setup with apache or nginx.