matthiasriener
PROOP
2 years ago
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?
2 Replies
2 years ago
unfortunately we dont have a variable for every domain, the current variable would be the first added domain.
you would have to call the api to get all domains for a service