Is it possible to set this up with Docker (Kamal) ?
https://teleport.purrtal.com/
I was trying to build my own PHP app to forward domains, but it appears that Nginx doesn't allow proxying other domains, or I need to perform some configuration that I am not familiar with. Anyway, I failed, so I want to deploy this app with Docker for automation. Since Docker has its own reverse proxy, I am not sure Docker will accept other forward domains.
I think docker should be working. Regular port forwarding should works as long it doesn't strip Host HTTP header.
I don't think this will work with Kamal because you have to set the host domain https://kamal-deploy.org/docs/configuration/proxy/ so the docker will not reverse proxy when you connect with a new domain.
It is expected that the proxy server must support proxy-ing HTTPS as is, for example NGINX has stream plugin for it and it's already used by r.forwarddomain.net: https://github.com/willnode/forward-domain/blob/main/HOSTING.md#nginx--stream-plugin
I'll keep this issue open until someone can provide equivalent for Kamal
I'll keep this issue open until someone can provide equivalent for Kamal
Wow. That's so nice of you. I was going to close it because Kamal's issue https://github.com/basecamp/kamal/issues/1617 said it is not possible.