You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For routing inside the apps I'm using react-router v6.4
I want the following thing: http://localhost to be redirected to home app http://localhost/app1 to be redirected to http://localhost:3001` (app1) http://localhost/app2 to be redirected to http://localhost:3002 (app2)
For that I configured a nginx reverse proxy like that but didn t work
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have multiple vite react apps and I want to combine in a single app:
home: http://localhost:3000
app1: http://localhost:3001
app2: http://localhost:3002
For routing inside the apps I'm using react-router v6.4
I want the following thing:
http://localhost
to be redirected tohome
apphttp://localhost/app1 to be redirected to
http://localhost:3001` (app1)http://localhost/app2
to be redirected tohttp://localhost:3002
(app2)For that I configured a nginx reverse proxy like that but didn t work
All the request goes to the
location \
. I tried also to pass the location like thislocation = \ {...}
but still don't work.Is somebody here that faced the problem?
Beta Was this translation helpful? Give feedback.
All reactions