Is it possible to link two domains to one service, but have the ports different?

I am trying to deploy https://logto.io/ and it serves the public frontend on :3001 and the admin panel on :3002 How can I configure railway to have one domain forwarded to :3001 and another to :3002?
7 Replies
Percy
Percy2y ago
Project ID: N/A
Derock
DerockOP2y ago
n/a
MantisInABox
MantisInABox2y ago
Not at this time. The system listens on only one port by default
Derock
DerockOP2y ago
is there a way to get the ip of a container? maybe I can run nginx or traefik in front of it like a reverse proxy and have that handle routing to :300{1,2}
MantisInABox
MantisInABox2y ago
Nope, can’t get the IP either
Derock
DerockOP2y ago
ah ok
Want results from more Discord servers?
Add your server