chimurai / http-proxy-middleware

:zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more
MIT License
10.68k stars 826 forks source link

Is there a program to support service discovery? For example consul, nacos #883

Open bilinxing opened 1 year ago

bilinxing commented 1 year ago

Describe the feature you'd love to see

I want requests for node services to be proxied to a cluster of backend services already registered to the registry, and if I can use service discovery instead of writing a dead url, I can improve service availability or reduce an intermediate load balancing.

Additional context (optional)

No response

chimurai commented 1 year ago

Hi @bilinxing You are the first to ask this question :)

Do you have an example of how you would like to use it?