Reference
Request forwarding
Request forwarding sends an upstream exchange while preserving required HTTP semantics and metadata.
Meaning and purpose
Request forwarding sends an upstream exchange while preserving required HTTP semantics and metadata.
How it works in context
Forwarded, X-Forwarded-For and X-Forwarded-Proto carry intermediary information by convention or standard. An origin must trust these fields only when the immediate sender is an approved proxy. A load balancer chooses an upstream; a reverse proxy can perform that function but the concepts are not identical. WebSocket upgrades require compatible forwarding behavior.
Operational checks and security
Check the proxy-to-origin path separately from the public connection. Constrain accepted Host values and avoid blindly trusting user-supplied client-IP headers. Cache authenticated responses only under an explicit policy that prevents one user receiving another user’s content.
Read-only example
These commands inspect the surrounding system or protocol. They do not automatically change its configuration or establish every property of this term. Replace example targets only with destinations you are authorized to inspect.
nginx -t
# Inspect response fields without changing the origin
curl -I https://example.com
Sources and further reading
These explanations are educational. Implementations, policies and standards evolve; check the current specification and software version before changing a system.