3 ms·
Hi 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
by celicaraptor 6y ago
Hi 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!
- mholt 6y agoYes, it is! Ask Jack Ellis at Fathom Analytics, they're doing this for their customers: https://usefathom.com/blog/bypass-adblockers 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 https://caddy.community
- JackWritesCode 6y agoWe've had great fun with Caddy for Version 1 of our custom domains feature. 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.
- going_to_800 6y agoLove this! I'm really REALLY interested in this post because I'm facing the same issue and TBH I'm not that great with servers myself.
- celicaraptor 6y agoThat's awesome to hear!I will be on the look out for their post.
- Mojah 6y agoHi! We’ve done this exact same thing and have a technical writeup here: https://ohdear.app/blog/how-we-used-caddy-and-laravels-subdomain-routing-to-serve-our-status-pages https://ohdear.app/blog/how-we-used-caddy-and-laravels-subdo... Tl:dr: very easy to do, Caddy takes care of 90% of the complexity.
- celicaraptor 6y agoHi Mattias!, Thank you for pointing me your post.It really helped!Also,ohdear is a brilliant name for this service!