Awesome! We use Caddy at Sourcegraph ( https://sourcegraph.com/search?q=caddy+repo:%5Egithub%5C.com... ) and love it. Caddy makes it much easier to run our app in local dev (with HTTPS and other nice things).
Same here! We are huge fans of Caddy at Narration Box ( https://narrationbox.com ) and we are considering replacing NGINX completely in our Django production stack. (Currently we only use Caddy for development and staging) The author of Caddy, Matt Holt, is a really great person and is extremely responsive on Twitter and GitHub. Highly recommend checking them out.
Show HN: Caddy 2
41–50 of 247 posts
Re: Show HN: Caddy 2
#42Re: Show HN: Caddy 2
#43Hi mholt!, I am building an ecommerce SaaS.Obviously,i will have each domain pointed to my server.Is Caddy a good choice for automatically getting a certificate for each website?Are there any limitations? Thanks!
Feel free to post in our forums with questions! https://caddy.community
Re: Show HN: Caddy 2
#44Re: Show HN: Caddy 2
#45Huge fan of Caddy. The on-demand TLS is incredible.
(Thank you, Let's Encrypt)
Re: Show HN: Caddy 2
#46Re: Show HN: Caddy 2
#47YESSS so happy there's now an apt install method: echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" | sudo tee -a /etc/apt/sources.list.d/caddy-fury.list apt update && apt install caddy
That was my pet project for the past couple weeks, I'm so glad to see people appreciate it!
Re: Show HN: Caddy 2
#48I liked v1 a whole lot. I'm interested in v2, though I'm extremely skeptical of the additional complexity of the config adapter layer ( https://caddyserver.com/docs/config-adapters ) - I'm more or less sold on having an internal JSON structure with a DSL on top of it (allowing dynamic/programatic config is really interesting), but the idea of having _multiple_ different DSLs or config syntax bindings for it seems a b…
A few of those are third party maintained, and are plugins. They're listed on that page to point out what's possible.
There's a tutorial for the API in the docs that should give you a good idea of what you can do: https://caddyserver.com/docs/api-tutorial
Re: Show HN: Caddy 2
#49I've started using caddy 2 couple of days ago, I am using Caddyfile because json based configuration looks really awful and is hard to maintain (quick changes take a lot of time). The only problem I've encountered is that you can't turn off TLS for a route using Caddyfile. Why is that?
More info:
Re: Show HN: Caddy 2
#50Hi mholt!, I am building an ecommerce SaaS.Obviously,i will have each domain pointed to my server.Is Caddy a good choice for automatically getting a certificate for each website?Are there any limitations? Thanks!
Yes, it is! Ask Jack Ellis at Fathom Analytics, they're doing this for their customers: https://usefathom.com/blog/bypass-adblockers -- and I think they have a new blog post and video coming out soon about it. Feel free to post in our forums with questions! https://caddy.community
For Version 2, we've done a lot of work with Matt and the solution we've now reached is:
1. DynamoDB as storage for certificates, allowing sharing between servers without regenerating during an issue with an availability zone
2. Multiple Caddy reverse proxy servers in different regions
3. AWS Global Accelerator to route the user to the closet server to them
It's so great because we can also proxy our CDN through Caddy (yes, it needs to go through the user's custom domain), and we've got insanely fast response times on that.
We've load tested the proxy servers and they can handle an incredible amount, we're very pleased with the solution.
I will be publishing and sharing an article soon, detailing my journey and our final solution.