Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Never heard of the project, but looks good. Good to see they are making efforts to change the license.

Curious, who/when would you use caddy? If I were to be building and deploying microservices with the likes of Gin, Mux, etc.. would I have a use for this library? Or is this primarily for those wanting to serve static html pages? Still trying to get a foot hold on what my tool kit is going to consist of to build my software product.



I've used caddy in places where I needed nginx but wanted end to end ssl and didn't want to deal with local letsencrypt cronjobs.

But caddy is also pretty cool to use as a development web server as well.


I’m planning on using Caddy to provide bring-your-own-domain handling for a project I’m working on. Your user points their domain to your caddy server and it sets up https automatically - including the certificate - during the first request

https://caddyserver.com/docs/automatic-https#on-demand

Obviously not what it’s limited to, but that’s it’s selling feature for me


Caddy is a webserver and can be used for static or dynamic sites in any stack. It's primary popular feature was easy and automatic SSL via LetsEncrypt integration.

You can look at the features list to see more: https://caddyserver.com/features


I use Caddy (the compiled product) as the reverse proxy and automagic SSL certificate manager for all of my personal sites.

I do not use Caddy (the code) as a library.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: