HTTP - Proxy

1 - About

An proxy is an application that re-route the network traffic server. It sits between the client and the origin server.

3 - Type

There is two kind of proxy but they are just the same application, they takes an HTTP request and process it. They can:

  • forward (reroute),
  • cache,
  • authenticate,
  • filter,
  • secure
  • ..

The proxy type is just an indicator for the direction of the request.

if the request is coming from to the proxy is called
the intranet (or private process) internet a forward proxy
the internet a private host (service) a reverse proxy (Or gateway)

3.1 - Reverse

HTTP - Gateway (Reverse Proxy) - the proxy receive public network request. It is an intermediate between the client and a private network.

A load balancer is a reverse proxy that balance the traffic from an origin to different servers.

3.2 - Forward

HTTP - Forward Proxy - the first job of a proxy server is to receive internal request and forward them as if it was the client. We say that it impersonates the original client.

It controls the internal request from the private network (intranet) to the public network (internet).

4 - Software

  • Apache - Proxy (mod_proxy)

5 - Management

5.1 - Cache

Proxy caches resource by reading only the following Cache-Control headers:

  • max-age,
  • s-maxage,
  • and private

The others will not influence proxy caching.

6 - Headers


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap