PROXY Protocol
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="proxy.php?url=https%3A%2F%2Fstatuscodefyi.com%2Fiframe%2Fglossary%2Fproxy-protocol%2F" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://statuscodefyi.com/glossary/proxy-protocol/
Add a dynamic SVG badge to your README or docs.
[](https://statuscodefyi.com/glossary/proxy-protocol/)
Use the native HTML custom element.
A protocol created by HAProxy that prepends a small header to a proxied TCP connection containing the original client's IP address and port. When a load balancer or proxy forwards TCP traffic to a backend, the original client IP is normally lost because the backend sees only the proxy's address. PROXY Protocol v1 uses a human-readable ASCII header; v2 uses a binary format for efficiency. Backend applications must explicitly support PROXY Protocol to parse the header; it is supported by Nginx, HAProxy backends, and many cloud load balancers. Not to be confused with the HTTP X-Forwarded-For header, which works at Layer 7.