Home >Backend Development >PHP Tutorial >Nginx forward proxy and reverse proxy

Nginx forward proxy and reverse proxy

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-29 09:06:151147browse

Three roles

  • Client
  • Proxy server
  • Target server

Forward proxy

The target server is visible to the client (regardless of whether the proxy server exists), it is just possible that the client must go through Only the proxy server can access the target server (such as visiting www.google.com)

Reverse proxy

The target server is invisible to the client. The client can only access the target server through the proxy server. The client does not know the proxy at all. What target servers are there for the server backend.

Legend

Above: Forward proxy
Below: reverse proxy
Nginx forward proxy and reverse proxy

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the Nginx forward proxy and reverse proxy, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Facebook架构解读Next article:ThinkPHP323扩展之二维码