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

   Á¶È¸ 1433   Ãßõ 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
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.


óÀ½À¸·Î (232,934)
Á¦¸ñ
2CPU : ÆǸŠ01-11   559   ¶¥¾Æ
2CPU : ÆǸŠ01-11   189   ¿Ã¿þ¾î
2CPU : ÆǸŠ01-11   147   ¿Ã¿þ¾î
2CPU : ÆǸŠ01-11   193   ¿Ã¿þ¾î
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 01-11   262   »õÇϾᱸ¸§
2CPU : ÆǸŠ01-11   341   ¸ð½º¿ùµå
2CPU : QnA 01-10   1434   µå¸®µ¥ÀÌ
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 01-10   403   VSPress
2CPU : QnA 01-10   1528   µå¸®µ¥ÀÌ
2CPU : °¡»óÈ­ 01-10   7592   µå¸®µ¥ÀÌ
2CPU : DIY-È£ÀÛÁú 01-10   24085   ¾î²Ù±â
2CPU : QnA 01-10   2364   °í¾ç½Ã
2CPU : ÆǸŠ01-10   305   wsws
2CPU : QnA 01-10   1804   ¿Ã´Ð½º
2CPU : ÆǸŠ01-10   217   wsws