here is my configuration
frontend www-http
bind *:80
option tcplog
default_backend www-backend
mode tcp
frontend www-https
bind *:443
default_backend www-backend
option tcplog
mode tcp
backend www-backend
mode tcp
server web1 192.168.1.191:443 check
server web2 192.168.1.192:443 check backup
I want to when users types mysite.com >> https://mysites.com
I used redirect scheme https if !{ ssl_fc }
on frontend as backend, but it cant reach my goal.