haproxy WEB ¹æ½Ä°ú SSL-SNI TCP ¶ó¿ìÆà ¹æ½Ä.

   Á¶È¸ 1595   Ãßõ 1    

haproxy에서 도메인 네임 기반으로 프록시가 가능하긴 합니다.


http 의 경우 


tcp인 경우 SSL-SNI 이용해서




예시
defaults
 maxconn 1000
 mode tcp
 log global
 option dontlognull # bind *:443 ssl crt .
 timeout http-request 5s
 timeout connect 5000
 timeout client 2000000 # ddos protection
 timeout server 2000000 # stick-table type ip size 100k expire 30s store conn_cur

frontend foo_ft_https
        mode tcp
        option tcplog
        bind *:443

tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }

acl whoer req.ssl_sni -i whoer.net
use_backend recap if whoer


        default_backend main

backend main
        mode tcp
        option tcplog

 server server1 private.server.net:1013

backend recap
        mode tcp
        option tcplog

 server server1 private.server.net:1005
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.


QnA
Á¦¸ñPage 246/5699
2015-12   1576793   ¹é¸Þ°¡
2014-05   5040322   Á¤ÀºÁØ1
2024-02   1590   ÇѲ¿Çª
2024-03   1591   ÇϴóʸÓ
2023-05   1591   NinaDobrev
2024-03   1591   ¸í¶û
2024-03   1591   ²Ù¶ì¿÷
2022-12   1591   syhj
2024-06   1592   ºí·ç¸ð¼Ç
2024-04   1592   fLog
2024-05   1592   NiteFlite9
2023-11   1592   Caig
2023-01   1593   dateno1
2022-09   1593   ½Öcpu
2024-01   1593   Á¤¹«Çö
2022-04   1593   À̼±±Ô
2024-04   1593   Ãʺ¸ÀÚ¿¡¿ë
2022-06   1594   ¹Ì¼ö¸Ç
2024-04   1594   ±èâÀ±(WC)
2022-11   1594   ¸¶À½ÀÌ°¥´ë
2021-05   1594   ±èµ¿Çõ1
2023-09   1594   ¹Ì´ã