Re:How do you solve custom domain HTTPS support in your SaaS...
by erinmez on Monday August 14, 2023 @10:49AM
(#37121671)
Thanks a lot for the approach. Now I recall we had a Lua/nginx setup a couple of years ago similar to this and it was actually really low maintenance (wasn't on AWS though). I need to check the monetary aspect of the Cloudflare approach, but for best effort "Free" plans this could be a cheap option on AWS.
Otherwise, I've played around with OpenResty for doing this on top of nginx with on the fly letsencrypt certs. This isn't my post, but it's the same thing.
https://medium.com/@vibhoragrawal/how-to-setup-ssl-on-the-fl...
Of course now you have to own your own ops for your load balancers, but you could always scale up the nginx instances and put them behind a NLB instead of an ALB.