You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
I'm currently trying to configure APISIX within an OVH Kubernetes cluster to obtain the client's real IP address behind the load balancer, similar to the setup described in the OVH documentation (link).
The OVH documentation suggests using the Proxy Protocol at the TCP layer to add the client's IP to the incoming request. However, despite attempting to replicate this setup in APISIX, I haven't been successful.
Steps Taken:
I've reviewed the OVH documentation and tried to adapt the configuration for APISIX.
I've attempted to enable the Proxy Protocol in the APISIX configuration by uncommenting the relevant section in the config.yaml file and adjusting the settings.
# proxy_protocol: # PROXY Protocol configuration
# listen_http_port: 9181 # APISIX listening port for HTTP traffic with PROXY protocol.
# listen_https_port: 9182 # APISIX listening port for HTTPS traffic with PROXY protocol.
# enable_tcp_pp: true # Enable the PROXY protocol when stream_proxy.tcp is set.
# enable_tcp_pp_to_upstream: true # Enable the PROXY protocol.
I've restarted APISIX pods after making the configuration changes.
Current Behavior:
Despite enabling the Proxy Protocol in the APISIX configuration, the client's real IP address is not being correctly passed through to the application.
Additional Information:
Kubernetes Cluster Provider: OVH
Apisix was setup using the helm chart.
I would appreciate any guidance or assistance on properly configuring APISIX to obtain the client's real IP address behind the load balancer in an OVH Kubernetes cluster using the Proxy Protocol.
Description
Issue Description:
I'm currently trying to configure APISIX within an OVH Kubernetes cluster to obtain the client's real IP address behind the load balancer, similar to the setup described in the OVH documentation (link).
The OVH documentation suggests using the Proxy Protocol at the TCP layer to add the client's IP to the incoming request. However, despite attempting to replicate this setup in APISIX, I haven't been successful.
Steps Taken:
I've reviewed the OVH documentation and tried to adapt the configuration for APISIX.
I've attempted to enable the Proxy Protocol in the APISIX configuration by uncommenting the relevant section in the config.yaml file and adjusting the settings.
I've restarted APISIX pods after making the configuration changes.
Current Behavior:
Despite enabling the Proxy Protocol in the APISIX configuration, the client's real IP address is not being correctly passed through to the application.
Additional Information:
Kubernetes Cluster Provider: OVH
Apisix was setup using the helm chart.
I would appreciate any guidance or assistance on properly configuring APISIX to obtain the client's real IP address behind the load balancer in an OVH Kubernetes cluster using the Proxy Protocol.
Thank you for your help!
Environment
apisix version
): 3.8.0uname -a
): 5.15.0-101-generic feat: Optimize configuration items, add etcd.prefix and schema #111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024 x86_64 GNU/Linuxopenresty -V
ornginx -V
): openresty/1.21.4.2curl http://127.0.0.1:9090/v1/server_info
): 3.5.0luarocks --version
):The text was updated successfully, but these errors were encountered: