I'll have a similar setup to this (one node only):
internet
|
[ nginx proxy]
|
[ node ]
--|-----|-- --|-----|--
[ Service A]-[ Service B]
I want to achieve some kind of routing, e.g. like this:
https://server.com/nginx
routes the traffic to the nginx, which forwards it to the clusterhttps://server.com/nginx/a
routes the traffic toService A
https://server.com/nginx/b
routes the traffic toService B
Is there a solution from docker
(cluster internal) which can route traffic depending on the /path/
?
I was using kubernetes
before, where I had the option do define a path
within an ingress
. Is there something similar in docker
?