Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- frontend http-https
- bind *:80
- bind *:443 ssl crt /etc/haproxy/ssl/resoleasing.pem
- mode http
- acl UNIFI hdr(host) -i unifi.resoleasing.com
- acl GFI hdr(host) -i gfi.resoleasing.com
- redirect scheme https code 301 if !{ ssl_fc }
- use_backend UNIFI if UNIFI
- use_backend GFI if GFI
- backend UNIFI
- mode http
- server UNIFI 10.1.0.71:8443 check ssl verify none
- backend GFI
- mode http
- server GFI dtln-edge.resoleasing.com:443 check ssl verify none
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement