Bharat's Digital Garden

Reverse proxying

Reverse proxying is the idea of utilizing one server for different websites. The gist is that you can make nginx (apache etc..) decide where it should route the request based on which domain the request is coming from. So, if the request comes from a-api.website.com then it can redirect to port 5000 and if the request comes b-api.website.com it can redirect to 8080. It can also take care of https certificates here.

Refs