View Single Post
Tuổi 09-01-2022, 01:27 AM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Configure HAProxy to Load Balance Site with SSL PassThrough
Configure HAProxy to Load Balance Site with SSL PassThrough



Bạn tạo file với cầu hình sau là ok:
vi /etc/haproxy.cfg
Mã:
global   log 127.0.0.1 local0   maxconn 4000   daemon   uid 99   gid 99  defaults   log     global   timeout server 5s   timeout connect 5s   timeout client 5s  frontend https_frontend   bind *:443   mode tcp   default_backend web_server  backend web_server   mode tcp   balance roundrobin   stick-table type ip size 200k expire 30m   stick on src   server s1 192.168.250.47:443   server s2 192.168.250.49:443
Tham khảo: https://virtuallyhyper.com/2013/05/c...ites-with-ssl/
  Trả lời ngay kèm theo trích dẫn này