: This article mainly introduces Nginx forward proxy and reverse proxy. For more information about PHP tutorials, see. Three roles
- Client
- Proxy Server
- Target server
Forward proxy
The target server is visible to the client (whether or not the proxy server exists), but it is possible that the client must pass through the proxy server to access the target server (such as accessing 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 which target servers are available at the proxy server backend.
Legend
Above: Forward proxy
Below: Reverse proxy
'). AddClass ('pre-numbering '). hide (); $ (this ). addClass ('Has-numbering '). parent (). append ($ numbering); for (I = 1; I <= lines; I ++) {$ numbering. append ($ ('
'). Text (I) ;}; $ numbering. fadeIn (1700) ;}) ;}; script
The above introduces the Nginx forward proxy and reverse proxy, including the content, hope to be helpful to friends interested in PHP tutorials.