The ngx_http_proxy_protocol_vendor_module module (1.23.3) allows obtaining additional information about a connection in cloud platforms from application-specific TLVs of the PROXY protocol header.
Supported cloud platforms:
The PROXY protocol must be previously enabled by setting the proxy_protocol parameter in the listen directive.
This module is available as part of our commercial subscription.
proxy_set_header X-Conn-ID $proxy_protocol_tlv_gcp_conn_id;
server {
listen 80 proxy_protocol;
listen 443 ssl proxy_protocol;
...
}
$proxy_protocol_tlv_aws_vpce_id$proxy_protocol_tlv_azure_pel_id$proxy_protocol_tlv_gcp_conn_id
© 2002-2021 Igor Sysoev
© 2011-2025 Nginx, Inc.
Licensed under the BSD License.
https://nginx.org/en/docs/http/ngx_http_proxy_protocol_vendor_module.html