Nginx as a proxy service

Agency services Introduction

 What is a proxy service

  •  Agent - agent for (financial agent, the agent delivery, agent shopping, etc.).

HTTP request model diagram no proxy services

HTTP request model diagram with proxy services

 

 Classifieds

  • Forward Proxy
  • Reverse Proxy

Forward Proxy

  •     When the LAN can not access the Internet can meet the requirements of forward proxy in your browser settings
  •     When we want to access the website information by foreign FQ, you can set the browser forward proxy

Forward proxy model diagram

 

Reverse Proxy

  •   Server module has a lot of engineering time required to achieve the distribution of traffic through a proxy Nginx

Reverse proxy model diagram

 

 Reverse proxy model diagram to explain:

  •     The client needs its own request to obtain DNS server address;
  •     Acting for server services;
  •     Red dotted line represents the firewall;

Acting difference

  • The difference is that the object is not the same form of service
  • Forward Proxy proxy object is a client, the client service
  • Reverse proxy server proxy object is for the server service

 

Proxy Mode and module description

 

Guess you like

Origin www.cnblogs.com/crazymagic/p/11029137.html