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

   Á¶È¸ 1691   Ãßõ 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 275/5698
2014-05   5089503   Á¤ÀºÁØ1
2015-12   1626677   ¹é¸Þ°¡
2021-12   1691   ÀÌÈñÁÖ
2022-06   1691   ¸¶¹ý»ç¿ÀÁî
2022-02   1691   saint
2023-07   1691   ȸ¿ø
2023-11   1691   gusoong
2024-06   1691   thescream
2022-03   1691   ¿ì¹¶
2023-01   1691   grzlr
2023-05   1692   ¹Ì´ã
2023-05   1692   mmdok
2023-05   1692   ÇູÇϼ¼
2024-05   1692   ³ª³ª³ª³ª³ª
2022-09   1692   drama
2023-05   1692   ¿À¹«¾Æ¹«¾Æ
2023-12   1692   ·Îº§¸®¾Æ
2024-05   1692   ²æ²æ²æ
2023-01   1692   µå¸®µ¥ÀÌ
2022-04   1692   °Ü¿ï³ª¹«
2023-11   1692   À¯Á¤È£»þÄÜ´À
2022-09   1692   ¼Û½ÂÈ­