ngx_http_proxy_protocol_vendor_module

Module ngx_http_proxy_protocol_vendor_module

https://nginx.org/en/docs/http/ngx_http_proxy_protocol_vendor_module.html

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:

  • Amazon Web Services
  • Google Cloud Platform
  • Microsoft Azure

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.

Example Configuration

proxy_set_header X-Conn-ID $proxy_protocol_tlv_gcp_conn_id;

server {
    listen 80   proxy_protocol;
    listen 443  ssl proxy_protocol;
    ...
}

Embedded Variables

最后修改 August 16, 2023: 更新 (c140bba)