Not working - configuring haproxy, keepavlied, to proxy incoming requests to google.com

I am new to HAproxy. I am trying to implement below but its not working, I want to use 3 ips, each for HAproxy servers and one for VIP. Configure /etc/hosts file so that test.com will point to VIP. Want to make 2 HAproxy servers to work in master slave HA mode using keepalived. Create self sing cert for haproxy. configure backend server of these HAProxy servers to be www.google.com if i hit https://test.com in local browser it should show the contents of google.com, it should be just proxy to google.com, url on the browser should remain https://test.com while showing google.com

I have installed haproxy,keepalived on centos7 master and slave servers with below configuration

In /etc/haproxy/haproxy.cfg file on master server,


#---------------------------------------------------------------------

main frontend which proxys to the backends

#---------------------------------------------------------------------
frontend main *:80

use_backend static if url_static

default_backend             app

backend app
http-request set-header Host www.google.com
server site google.com:443 ssl verify none check


In /etc/keepalived/keepalived.conf,

vrrp_script chk_haproxy {
script “killall -0 haproxy” # check the haproxy process
interval 2 # every 2 seconds
weight 2 # add 2 points if OK
}

vrrp_instance VI_1 {
interface eth1
state MASTER
virtual_router_id 51
priority 101
virtual_ipaddress {
172.28.128.33
}
track_script {
chk_haproxy
}
}

/etc/hosts - 172.28.128.33 test.com

If i try elinks https://test.com i get unable to retrieve https://test.com Connection refused.

Please note, i have not configured self sign certificate yet.

Can someone please help. Thanks