Sunday 24 November 2019

Introduction to NGINX


NGINX is a Reverse Proxy Server.

What is a Reverse Proxy Server?
Reverse Proxy server is an application that sits in front of web servers and forwards client requests to the respective web server.

In a typical flow, client contact the applications directly.


With NGINX reverse proxy, the flow will change like below.

Client only knows the NGINX reverse proxy server details. Client send request to NGINX Reverse Proxy server, from here NGINX route the request to respective server.

Benefits of Using Reverse Proxy
Load Balancing
Since reverse proxy server sits in front of all the backend servers, we can load balance the requests among group of servers at reverse proxy level.

Security
Since we are only exposing reverse proxy server details to outside (to clients), our internal services details are protected, we no need to reveal the IP addresses of our internal servers.

Performance Improvement
a.   Reverse Proxy can cache the content to improve performance.
b.   Reverse Proxy can compress incoming and outgoing data
c.    Reverse proxy can perform SSL encryption to take load off from servers.



Previous                                                    Next                                                    Home

No comments:

Post a Comment