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

   Á¶È¸ 1440   Ãßõ 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 292/5661
2015-12   1424950   ¹é¸Þ°¡
2014-05   4885549   Á¤ÀºÁØ1
2023-03   2051   Çã¹Ö¹öµå
2023-03   1389   ¹Ì´ã
2023-03   1378   LevinF
2023-03   1615   galaxyfamily
2023-03   1453   ÀÌÈñÁÖ
2023-03   1829   inquisitive
2023-03   1884   yummy
2023-03   3512   ¸¸°õÀÌ
2023-03   2010   yummy
2023-03   1874   yummy
2023-03   2736   ¼ÇÇѸÆÁÖ
2023-03   2011   °­Çѱ¸
2023-03   3232   Å°¸£È÷È£ÇÁ
2023-03   1885   ±ä¸Ó¸®·çÀ̽º
2023-03   2735   ±îÄ¡»ê°³²ÜÅÊ
2023-03   1737   Ȧ¸¯0o0
2023-03   3292   ¸°µå¹ö±×
2023-03   2961   Æ®·»µå
2023-03   2401   wguardian
2023-03   1894   °æ¹ÚÇѽùÎ