Nowadays Its a common practice to do that at the edge, especially in enterprise systems.
Nginx has moved along time ago to be more then caching and load balancing:
You now also have API Gateways, they are a more elaborated version of what used to be a proxy for caching and/or load balancing.






















