NGINX is a free, open source, high-performance HTTP web server that can perform the following functions:
- Reverse Proxy
- Load Balancer for HTTP, TCP and UDP Traffic;
- Mail Proxy Server.
NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Benchmarks have shown NGINX to out perform other lightweight web servers and proxies, even some that are also considered lightweight. ones.
NGINX is generally deployed as a reverse proxy, not as a caching proxy (like Squid). The key advantage with NGINX is its nominal RAM and CPU usage under heavy load. Squid is best applied to cache dynamic content for applications that cannot do it themselves. NGINX (unlike Squid), supports WebSockets, HTTP/1.1 Upgrade (101 Switching Protocols), and HTTP/2 protocol.