Pattern Redirect for Backend API
jeffsburton
PROOP
14 days 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?
3 Replies
Railway
BOT
14 days 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!
0x5b62656e5d
FREETop 1% Contributor
14 days ago
IIRC no. You can, however, code your application to handle such redirects.
jeffsburton
PROOP
9 days ago
Wouldn't it be possible to add a redir directive in the Caddyfile?