-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for rewriting to external URLs #30
Comments
This is super interesting, thanks for proposing it. The only caveat is that the space of possible configuration options for such a feature is very broad. |
Maybe we could look at how others do it to be sure of taking into account every option? As I mentioned in #28, light-server offers a similar feature :) |
This all sounds great. However, we don't have an internal need for this. So any help would be greatly appreciated! |
It'd be great to see this feature indeed, especially configurable inside Meanwhile, my workaround is to use
This is how I could proxy |
@leo, any comment about @nathancahill PR?
|
I need this as well. For my use case I'm emulating locally my server's proxy settings. Hoping something like this would work: "rewrites": [
{ "source": "/game/main", "destination": "http://localhost:9000/main"}
] |
Any updates? this pr #75 is waiting for approvals |
I was using serve for my SPA until I couldn't anymore because I need to proxy to API server. I found that local-web-server seems to support a lot of scenarios and did the trick for me. Example command:
Opens local server on port 5000, serves the |
I need this feature also. |
shameless self-promotion alert: notes about using redirect rules:
|
What date is today ? Why is this issue still open ? |
Would be great to have proxy support for external APIs in this microservice world. This would also alleviate the pain of using CORs. Also in relation to issue #28
The text was updated successfully, but these errors were encountered: