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

   Á¶È¸ 1565   Ãßõ 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 377/5689
2015-12   1546310   ¹é¸Þ°¡
2014-05   5010618   Á¤ÀºÁØ1
2023-01   1996   °×µ¹¸Ç
2023-01   1843   Åë½Åº¸¾È
2023-01   1566   µå¸®µ¥ÀÌ
2023-01   1423   À嵿°Ç2014
2023-01   1449   ¾²·¹±â´ÜÀå
2023-01   1940   º¸ÅÁ
2023-01   1246   °Ü¿ï³ª¹«
2023-01   3009   ÀÀ¹«¼ÒÁÖ
2023-01   1404   sdlfkjwer
2023-01   1410   ³ª¸ô¶ó1
2023-01   1268   onuappa
2023-01   1635   Ȧ¸¯0o0
2023-01   1256   ÄĸÍÁÖ´Ï
2023-01   2082   iwill
2023-01   1754   ±¸¸í¼­
2023-01   1944   ÄÚÄí
2023-01   2028   Åë½Å¹öÇÊ
2023-01   1623   Èĸ®Áö¾Æ
2023-01   3351   ·ÎÁ¨º¸¸®
2023-01   1907   ÇູÇϼ¼