RAILWAY_PUBLIC_DOMAIN with multiple domains
Hello everyone. I have a service (caddy proxy), that has multiple domains - each one of the domains is a different tenant for my project. I would like to configure the backend to be able to handle requests for all the domains. The RAILWAY_PUBLIC_DOMAIN variable just gives me one of the currently 3 set domains. Is there any better way to handle this other than hardcoding the domains into the backend?
3 Replies