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

   Á¶È¸ 1535   Ãßõ 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 261/5686
2015-12   1518193   ¹é¸Þ°¡
2014-05   4982114   Á¤ÀºÁØ1
2023-03   1535   JJAMTIGER
02-27   1535   ½Ã·ù¶±
04-18   1535   ¹Ì´ã
2023-03   1536   ÀÌÈñÁÖ
2022-07   1536   ±ºÀÎ1
2021-09   1536   ÄÉÀ̺í±ðÀÌ
2023-02   1536   °Ü¿ï³ª¹«
2023-01   1536   µå¸®µ¥ÀÌ
05-31   1536   ºí·ç¸ð¼Ç
2022-04   1536   pumkin
04-04   1536   ±è¼ö¾Æ¹«
2023-01   1536   ¹Î»çÀå
2022-11   1536   ¸¶¹ý»ç¿ÀÁî
2023-01   1536   ºí·çÀ®
2022-05   1536   ±ÇÅ¿µ
03-29   1537   ¹Ì´ã
2022-01   1537   ¶¥ºÎÀÚ
2022-03   1537   ±ÇÅ¿µ
2022-01   1537   ´ë¹Úµ¹ÀÌ
02-26   1537   DB´ººñ