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
I am running n2proxy -backend http://localhost:8000 -port 5000
Hitting the / endpoint of that backend redirects (with a 301 or 302) to http://localhost:8000/login. Unfortunately if I go to http://localhost:5000 I end up with http://localhost:8000/login in my browser address bar. What I want is http://localhost:5000/login. Do you know how to fix this?
Seems I need to intercept the Location header and rewrite it.
The text was updated successfully, but these errors were encountered:
I am running
n2proxy -backend http://localhost:8000 -port 5000
Hitting the
/
endpoint of that backend redirects (with a 301 or 302) tohttp://localhost:8000/login
. Unfortunately if I go tohttp://localhost:5000
I end up withhttp://localhost:8000/login
in my browser address bar. What I want ishttp://localhost:5000/login
. Do you know how to fix this?Seems I need to intercept the Location header and rewrite it.
The text was updated successfully, but these errors were encountered: