First steps with Caddy
dev.to·13w·
Discuss: DEV

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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help