I am late to the party here. What is the purpose of a reverse proxy? Reading online: security, load balancing, https seems to be mentioned. It appears a bit to me that a reverse proxy is not doing what a web server used to do back in the days of IIS/Apache. I see a lot of programs meant to operate on the web that use very simple http servers.
I think of a reverse proxy as more of a general architectural pattern - when you have cross-cutting concerns for an application with a relatively broad protocol (HTTP) you can implement them as a networking layer in front of the service(s). Indirection and abstraction are powerful tools in computing. Common reasons for such a split: 1. Composing several different services into a single internet domain 2. Putting stat…
8) avoid cross-origin problems and prevent unnecessary OPTIONS preflights that result in uneeded roundtrips by bundling mutiple FEs+BEs into a single origin with different paths (as opposed to mutliple domains/origins).