grpcui
grpcui copied to clipboard
Asking for path prefix option to support grpc services behind reverse-proxies
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.
(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.