SHARE
TWEET

Untitled

a guest Jul 16th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. global
  2.   log 127.0.0.1 local1 debug
  3.   maxconn 4000
  4.   daemon
  5.   uid 99
  6.   gid 99
  7.   stats socket /tmp/haproxy.stats level admin
  8.  
  9. defaults
  10.   mode http
  11.   log     global
  12.   option forwardfor
  13.   option http-server-close
  14.   timeout server 5s
  15.   timeout connect 5s
  16.   timeout client 5s
  17.  
  18.  
  19.  
  20.  
  21. frontend www-https
  22.    bind  <Ip-address>:443 ssl crt /home/user/SSL/domain-name.in.pem
  23.    reqadd X-Forwarded-Proto: https
  24.    default_backend nodes
  25.  
  26.  
  27. backend nodes
  28.  
  29.     balance roundrobin
  30.     cookie JSESSIONID prefix indirect nocache
  31.    server web01 <IP-address>:8443 ssl verify none check cookie web01
  32.     server web02 <IP-address>:8443  ssl  crt /home/SSL/domain-name.in.pem ca-file /home/SSL/gdig2.crt  verify required   check cookie web02
  33.      
  34. server web02 <IP-address>:8443  ssl  crt /home/SSL/domain-name.in.pem ca-file /home/SSL/gdig2.crt  verify required   check cookie web02
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top