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

Dreaday   
   Á¶È¸ 1277   Ãßõ 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 5377/5636
2015-12   1279075   ¹é¸Þ°¡
2014-05   4732885   Á¤ÀºÁØ1
2023-02   1283   ºô¶ó¾ÈÅ׳ª
2022-11   1283   lenux8
2023-02   1282   ketay
2021-10   1282   Ãë¹ÌÄÄ
2023-01   1282   ÆÐŶ½ºÆ®¸²
2023-05   1282   ºÎ»ê´ë»§
03-14   1282   ½ÅÀº¿Ö
2022-03   1282   isaiah
2023-07   1282   ÇåÅÍD
01-25   1282   iiiaha
2023-03   1282   ÀÌâÁØ
2022-10   1282   L2½ºÀ§Ä¡
2023-07   1282   VSPress
01-04   1282   ÇÑ°¡ÇÑÀ̼öÁø
2022-01   1281   ¹«¾Æ
2022-06   1281   ÃѾËź»ç³ªÀÌ
2022-09   1281   grzlr
2022-04   1281   ±Ã±×¸Þ
2023-02   1281   jjjjjjj1
2022-07   1281   Ã¥°¥·®