Advertisement
Guest User

Untitled

a guest
Aug 24th, 2022
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. frontend http-https
  2. bind *:80
  3. bind *:443 ssl crt /etc/haproxy/ssl/resoleasing.pem
  4.  
  5. mode http
  6. acl UNIFI hdr(host) -i unifi.resoleasing.com
  7. acl GFI hdr(host) -i gfi.resoleasing.com
  8.  
  9. redirect scheme https code 301 if !{ ssl_fc }
  10.  
  11. use_backend UNIFI if UNIFI
  12. use_backend GFI if GFI
  13.  
  14. backend UNIFI
  15. mode http
  16. server UNIFI 10.1.0.71:8443 check ssl verify none
  17.  
  18. backend GFI
  19. mode http
  20. server GFI dtln-edge.resoleasing.com:443 check ssl verify none
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement