BadTorro commented on issue #10626:
URL: https://github.com/apache/apisix/issues/10626#issuecomment-2424867980

   Did anyone get this up & running? I'm trying to make use of the proxy 
protocol with an loadbalancer and apisix (bitnami chart) deployment on 
Digitalocean, unfortunately ending up at an "400 Bad Request" response. 
   
   ```
   dataPlane:
     service:
     annotations:
       service.beta.kubernetes.io/do-loadbalancer-name: "lb-name"
       service.beta.kubernetes.io/do-loadbalancer-size-unit: "1"
       service.beta.kubernetes.io/do-loadbalancer-tls-passthrough: "true"
       service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true"
     extraConfig:
       apisix: 
         proxy-protocol: 
           listen_http_port: 9181
           listen_https_port: 9182
         nginx_config: 
           http: 
             real_ip_header: proxy_protocol
   ```
   
   I'm getting the client IP in the data plane logs, but getting a "400 Bad 
request" response...(IP 1.2.3.4 in this case..) 
   
   `[20/Oct/2024:11:28:08 +0000] - "PROXY TCP4 1.2.3.4 4.4.4.4 30828 80" 400 
229 0.009 "-" "-" - - - "://"`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to