A proxy server is a server that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, the proxy server evaluates the request as a way to simplify and control its complexity. Proxies were invented to add structure and encapsulation to distributed systems. Proxies servers are facilitating access to content on the World Wide Web and providing anonymity.
There are two types of proxies which are as follows:
1. Open Proxy
2. Reverse Proxy
1. Open Proxy:
An open proxy is a forwarding proxy server that is accessible by any Internet user.there are “hundreds of thousands” of open proxies on the Internet. It allows users to conceal their IP address while browsing the Web or using other Internet services.
2. Reverse proxy:
A reverse proxy makes Requests are forwarded to one or more proxy servers that handle the request. The response from the proxy server is returned as if it came directly from the origin server, leaving the client no knowledge of the origin servers. Reverse proxies are installed in the neighborhood of one or more web servers. All traffic coming from the Internet and with a destination of one of the neighborhood‘s web servers goes through the proxy server.
There are many reasons for installing reverse Proxy server:
Encryption / SSL acceleration
Serve/cache static content