Client – Nginx (Web server)
Nginx web server handles requests directory.

Client – Nginx (reverse proxy) – Nginx (Web server)
When non-cached content is requested, Nginx handles the request directory and generate the cache. When cached content is requested, the proxy server handles the request.

client – Nginx (reverse proxy and round robin) – multiple Nginx (Web server)
When cached content is requested, the proxy server handles the request. When non-cached content is requested, the round robin function assigns the request to a Nginx web server in rotation.

Client – Nginx (reverse proxy) – Apache (Web server)
When the application requires Apache, you can use Apache as a web server and use Nginx as a reverse proxy. This reduce the load of CPU and is able to use the server resource efficiently.

Client – Varnish (reverse proxy) – Nginx (Web server)
Depending on the situation, use Varnish as a reverse proxy.
