Support - How to run Habitat bhind my own Caddy instance?
Support - How to run Habitat bhind my own Caddy instance?
Hi there, I want to check out Habitat, I have a real need for it right now. But it appears to do two things I want to handle on my own - use Let's Encrypt for SSL certs and use Caddy.
On my VPS, I already have Caddy running and I want my instance to set up the SSL certs for the front-end. So, can I remove the Docker setup use of Caddy or just tell Habitat not to enable that part of its setup?
To be clear, I am thinking I could set up Habitat to run like this:
- Front-end: https://mysubdomain.mydomain.com/
- My existing Caddy sees the request come in that way, redirects to the internal docker-based service.
- Habitat gets the request forwarded to it, on some other internal only port like 3000
- Habitat returns the normal page for the route.
Does that seem do-able? Thanks!