Hello haproxy experts
Im setting up the below system and need help
client [https]=============haproxy============[https]Server
My configuration is as below. When I curl from client with http, it works fine end to end.
When I curl from client using https, it fails with the below error - Can someone please let me know if there is anything wrong with my config?
Thanks and Regards
Adi
Error when curl done with htts:
- Proxy CONNECT aborted
- Connection #0 to host 100.67.33.21 left intact
curl: (56) Proxy CONNECT aborted "
Configuration:
frontend GK-Frontend
bind *:443 ssl crt /etc/ssl/xip.io/xip.io.pem crt /etc/certs/adi.pem verify none
bind 100.67.33.21:80
mode tcp
http-request redirect scheme http if { ssl_fc }
use_backend To80 if { ssl_fc }
use_backend USA_Backend unless { ssl_fc }
backend To80
mode tcp
http-request redirect scheme http if { ssl_fc }
server nuance-ak-client-test2-lb abns@haproxy-1:80 send-proxy
frontend GetOn80
mode http
bind abns@haproxy-1:80 accept-proxy
use_backend USA_Backend
backend USA_Backend
mode http
server testb2bapi.usaa.com 2.4.18.4:443 ssl crt /etc/certs/adi.pem verify none