Hey guys. I have built a platform [1] and I want to support custom domains and automatically get SSL.
Current deployment is using Nginx as a web front-end to a Rails application (using Dokku which is basically Docker). The current architecture makes it very hard to support SSL for custom domains.
I am thinking about using Caddy as a front-end web proxy that could manage the configuration and SSL for all custom domains.
Caddy would then forward traffic either to Nginx or directly to Puma/Rails but the backend web server would not need to know about SSL at all. It would just process requests.
Questions:
Is this a reasonable approach?
I am brand new to Caddy… what module or setup should I start with?
Thank you for any pointers!
–harris
[1] Webase is the platform: https://www.webase.com