This blog post is the "Nginx implementation of dynamic/static file caching-technology flow Ken" two. This article will detail how Nginx implements reverse proxy and load balancing technology, supplemented by practical cases.
Reverse proxy--"reverse proxy" means to accept a connection request on the Internet as a proxy server, then forward the request to a server on the internal network and return the results from the server to the client requesting the connection on the Internet, Reverse. At this point the proxy server appears as a reverse proxy server externally. ”
Load Balancing-"network-specific terminology, load balancing based on the existing network structure, it provides a cheap and effective transparent way to expand network equipment and server bandwidth, increase throughput, enhance network data processing capacity, improve network flexibility and availability." ”
2.nginx implementing reverse Proxy 1. Several concepts
Reverse proxy: After receiving a client request, the destination IP address and port will be repaired
Forward proxy: After receiving a client request, the source IP address and port are repaired
Upstream servers: Which nodes in the back-end of the proxy server are actually serving clients, such servers are called upstream servers
Downstream server: The client is the downstream node vhttps://baobao.baidu.com/article/8e250ea7127f8a5d0b52c0881407017a.html
Https://baobao.baidu.com/article/8e250ea7127f8a5d0b52c0881407017a.html
Https://baobao.baidu.com/article/8e250ea7127f8a5d0b52c0881407017a.html
Https://baobao.baidu.com/article/8e250ea7127f8a5d0b52c0881407017a.html
Https://baobao.baidu.com/article/8e250ea7127f8a5d0b52c0881407017a.html
Https://baobao.baidu.com/article/8e250ea7127f8a5d0b52c0881407017a.html
Https://baobao.baidu.com/article/8e250ea7127f8a5d0b52c0881407017a.html
Https://baobao.baidu.com/article/8e250ea7127f8a5d0b52c0881407017a.html
Https://baobao.baidu.com/article/8e250ea7127f8a5d0b52c0881407017a.html
Https://baobao.baidu.com/article/8e250ea7127f8a5d0b52c0881407017a.html
Nginx implements reverse proxy, load balancer-technology flow Ken