I'm working on a project where I'm currently trying to set up a reverse proxy via express which will serve up several static components compiled by webpack. A quick scheme of what I'm trying to do.
Client -> Reverse Proxy Server -> Component Server (10 total individual servers)
Any request from the client will have to go through the reverse proxy server and then that request should get forwarded to the correct component server. How can I go about achieving this? I don't see any documentation in expressjs that mentions how to do this. Theres a package here https://www.npmjs.com/package/http-proxy-middleware that will let me do exactly what I want but I've been forbidden from using it. Any direction/help towards documentation would be appreciated.