From the course: Learning NGINX

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Reverse proxies and load balancing

Reverse proxies and load balancing - Nginx Tutorial

From the course: Learning NGINX

Reverse proxies and load balancing

- [Instructor] We've seen how NGINX can be used as a web server for static files. Now let's take a look at two other ways NGINX can be used, as a reverse proxy and a load balancer. I may refer to a reverse proxy as just proxy, but know that I'm referring to the same thing. Proxies and load balancers provide very similar functions. In both cases, a server running as a proxy or load balancer sits between a client and some resource that can fulfill requests from the client. The client connects the proxy or load balancer on the front end. Then the proxy connects to the server or resource on the back end and returns the response to the client. With proxies and load balancers providing what looks like a very similar function, you might be wondering what the difference is between the two. Let's take a closer look. A reverse proxy usually applies to the case where there is only one server on the back end. This could be a web…

Contents