HA proxy Redirect NOT WORKING

Hi,

I have configured HA proxy for our Windows application where is running on port 80 ;

HA proxy runs on Linux machines.

I have tried to restart all https requests(SSL) to backend server port(80) by SSL Termination method.

But there is NO re directional request happens from LB to Application end.

My config sample:

HTTPS

frontend https-in
bind *:443 ssl crt /etc/SSL1/Certs1/x.pem no-sslv3 no-tlsv10
mode http
option forwardfor
option http-server-close
reqadd X-Forwarded-Proto:\ https
reqadd X-Forwarded-Port:\ 443
stats uri /haproxy?stats
default_backend backend_https

backend backend_https
mode http
balance roundrobin
cookie SRVNAME insert nocache
server X.X.X.X X.X.X.X:80 cookie ck_X1 check
server X.X.X.X X.X.X.X:80 cookie ck_X2 check
server X.X.X.X X.X.X.X:80 cookie ck_X3 check

If you want haproxy to handle HTTP traffic on port 80 and redirect it to HTTPS, you need to configure it.

Something like:

frontend httpredirect
 bind :80
 mode http
 http-request redirect scheme https