Dear Willy,

I have configured haproxy with stunnel to load balance my web servers.


https request -->stunnel--->haproxy --> backend servers(apache+tomcat)

This works fine but when I want to redirect http traffic to https in haproxy 
using acl it doesn't work.

http request -->haproxy <use acl to redirect to https----> stunnel --> haproxy 
----> backend servers(apache+tomcat)


My fontend config: 

frontend example.com.com
bind 192.168.10.11:80
mode http
log global
option httplog
maxconn 10000
timeout client 300s
acl secure url http://example.com
redirect location https://example.com/MyServer if secure
default_backend  example.comBACK

is my acl ok?

Regards,
Avinash Gaonkar

Reply via email to