Home >Backend Development >PHP Tutorial >Nginx forward proxy and reverse proxy
Three roles
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
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.