HOW DOES PATH-BASED ROUTING DIFFER FROM HOST-BASED ROUTING?

Path-based routing directs incoming traffic to different backend services based on the URL path (e.g.,http://example.com/api%20vs.%20example.com/web ), whereas host-based routing directs traffic based on the domain or subdomain in the host header (e.g., api.example.com vs. web.example.com)
Пожалуйста, войдите, чтобы спрашивать, отвечать, делиться, ставить лайки и голосовать.