I have exactly one domain, and one port. Then, I want to route requests to that domain and port, based on request's prefix path, e.g. example.com/foo
goes to Foo service, and example.com/bar
goes to Bar service.
The problem is that I want to deploy that services independently and dynamically, so that they are "subscribing" to updates, rather then reverse proxy knows them that at start time.
I do not want to manually rewrite proxy config and restart it for each deployed service, I want that that "subscription" happens automatically, without bothering other services.
How can I achieve that?