First steps with Caddy
dev.to·10h·
Discuss: DEV
Flag this post

As part of my effort to securely host my own Filestash instance I’ve been playing around with Caddy in an effort to better understand how to use it to serve as a very basic gateway for my server.

Caddy configuration can be quite complex, from what I’ve seen in other places. Happily, it can also be quite simple and straightforward for the more basic scenarios. In any case, it is good to learn some of the concepts behind caddy’s configuration, those will be very helpful for any kind of use case, but I feel the docs can be overwhelming sometimes.

Caddy has three ways of configuring it:

  • Caddyfile
  • caddy.json
  • API

The more expressive format and the one used under the hood is the JSON configuration, but it can be harde…

Similar Posts

Loading similar posts...