R
Railway9mo ago
Pipenho

How works redirecction in railway for react

I need to redirect form https://web.com to https://www.web.com anyone knows how to do it? thanks. app id: 992cf34a-815d-4283-8440-0049e897a74e
Solution:
yes, you are using serve, serve does not allow you to setup redirection rules, you would need to do the redirection via cloudflare page rules. but may I ask why you want to redirect to www?...
Jump to solution
13 Replies
Percy
Percy9mo ago
Project ID: 992cf34a-815d-4283-8440-0049e897a74e
Brody
Brody9mo ago
how are you currently serving your react app?
Pipenho
PipenhoOP9mo ago
railway[back, front], cloudfflare.
Brody
Brody9mo ago
right but how have you configured railway to serve your frontend
Pipenho
PipenhoOP9mo ago
this?
No description
Brody
Brody9mo ago
no, show me your deployment logs please
Pipenho
PipenhoOP9mo ago
this?
No description
Solution
Brody
Brody9mo ago
yes, you are using serve, serve does not allow you to setup redirection rules, you would need to do the redirection via cloudflare page rules. but may I ask why you want to redirect to www?
Pipenho
PipenhoOP9mo ago
i think becouse here in chile all webs company work with that
Brody
Brody9mo ago
okay it's your preference
Pipenho
PipenhoOP9mo ago
yep but how can i redirect form cloudflare?
Brody
Brody9mo ago
as mentioned, page rules
Pipenho
PipenhoOP9mo ago
man you should work for the nasa xD
Want results from more Discord servers?
Add your server