HTTP - Proxy

> (World Wide) Web - (W3|WWW) > (HTTP|HTTPS) - Hypertext Transfer Protocol

1 - About

An proxy is an intermediate server that sits between the client and the origin server.

Advertising

3 - Type

3.1 - Reverse

HTTP - Gateway (Reverse Proxy) - the proxy sits in the public network 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 proxy server sits between the client (user) and the destination (the website)

4 - Software

5 - Management

5.1 - Cache

web cache to reduce network usage.

Only the max-age, s-maxage, and private Cache-Control headers will influence proxy caching

5.2 - x-forwarded headers

5.2.1 - Get Protocol

The X-Forwarded-Proto (XFP) header is a de-facto standard header for identifying the protocol (HTTP or HTTPS) that a client used to connect to your proxy or load balancer.

5.2.2 - Get host

x-forwarded-host

Advertising