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

   Á¶È¸ 1506   Ãßõ 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 368/5681
2015-12   1487260   ¹é¸Þ°¡
2014-05   4950586   Á¤ÀºÁØ1
2023-01   1324   slowcity
2023-01   1788   gowork
2023-01   1576   ¾Æ¸¶µ¥¿ì¾²
2023-01   1485   ¹üÀÌ´Ô
2023-01   4532   ÀϷиӽºÅ©
2023-01   1753   osthek83
2023-01   1872   »ßµ¹À̽½ÇÄÀÌ
2023-01   3287   shaner
2023-01   1922   LevinF
2023-01   1905   jbj1
2023-01   1685   Revelion
2023-01   1320   saint
2023-01   2848   ginyunas
2023-01   1407   ³ëÀçÇö
2023-01   1376   ±èÁø¿µJK
2023-01   1325   ¯´Ô
2023-01   1599   µå¸®µ¥ÀÌ
2023-01   2428   °í¾ç½Ã
2023-01   1934   ¿Ã´Ð½º
2023-01   1519   ÇູÇϼ¼