RAILWAY_PUBLIC_DOMAIN with multiple domains
matthiasriener
PROOP

a year 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 RAILWAYPUBLICDOMAIN 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

matthiasriener
PROOP

a year ago

72fd79dc-7af9-4071-9a9d-f9697585ae65


a year 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


Loading...