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

   Á¶È¸ 1488   Ãßõ 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 364/5677
2014-05   4937541   Á¤ÀºÁØ1
2015-12   1474506   ¹é¸Þ°¡
2023-01   1313   ¯´Ô
2023-01   1578   µå¸®µ¥ÀÌ
2023-01   2419   °í¾ç½Ã
2023-01   1900   ¿Ã´Ð½º
2023-01   1506   ÇູÇϼ¼
2023-01   1510   ¹«¹ýÀÚ
2023-01   1852   °×µ¹¸Ç
2023-01   1758   Åë½Åº¸¾È
2023-01   1489   µå¸®µ¥ÀÌ
2023-01   1357   À嵿°Ç2014
2023-01   1395   ¾²·¹±â´ÜÀå
2023-01   1865   º¸ÅÁ
2023-01   1201   °Ü¿ï³ª¹«
2023-01   2853   ÀÀ¹«¼ÒÁÖ
2023-01   1331   sdlfkjwer
2023-01   1324   ³ª¸ô¶ó1
2023-01   1201   onuappa
2023-01   1531   Ȧ¸¯0o0
2023-01   1193   ÄĸÍÁÖ´Ï
2023-01   1875   iwill