Pattern Redirect for Backend API
jeffsburton
PROOP

10 months ago

I am trying to migrate my frontend from netlify to railway. netflify has a way to do a redirect on url patterns (eg {front_end_host}/api/* -> {back_end_host}/api/*).

Is there a way to do that in railway?

$10 Bounty

3 Replies

Railway
BOT

10 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


IIRC no. You can, however, code your application to handle such redirects.


jeffsburton
PROOP

10 months ago

Wouldn't it be possible to add a redir directive in the Caddyfile?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...