Skip to content
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

Asking for path prefix option to support grpc services behind reverse-proxies #194

Open
kooshan opened this issue Jul 20, 2022 · 1 comment

Comments

@kooshan
Copy link

kooshan commented Jul 20, 2022

Is it possible to add the capability to specify a service call path prefix? Since current address field seems to not support paths as part of host, port string. This would be useful in cases where the actual service is served behind a reverse proxy, YARP, for instance, and the routing is done by service call contract's path prefix. This would also allow the grpcui to access reflection serving there. I'm aware of a base-path option already which seems to address the same issue with the GUI itself.

@kooshan
Copy link
Author

kooshan commented Jul 20, 2022

(https://github.com/fullstorydev/grpcui/issues/118#issuecomment-838656094
This is actually how we managed to do it. (fixed) service names are the path patterns/prefixes, and method calls are matched and replicated on up-streams.
But we still have problem using grpcui with default reflection in such scenarios. If there is a way to do this without directly specifying the path prefix into grpcui command args, I would be happy to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant