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

   Á¶È¸ 2130   Ãßõ 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 260/5750
2015-12   1888106   ¹é¸Þ°¡
2014-05   5374051   Á¤ÀºÁØ1
2021-08   2230   ±â¹¦ÇÑ»ýȰ
2022-12   2230   Ȧ¸¯0o0
2023-01   2230   ¹«¹ýÀÚ
2024-06   2230   Sakura24
2024-09   2230   ¸¶½ºÄÚÆ®
2022-06   2230   ¶¥ºÎÀÚ
2024-07   2230   VSPress
2020-04   2230   »ßµ¹À̽½ÇÄÀÌ
2021-06   2230   ¾ÏÈæ·çÇÇ
2021-01   2231   metaljw
2020-07   2231   Çູã±â
2024-02   2231   Á¤¿µÃ¶
2024-03   2232   ÀüÀÏÀå
2023-02   2232   ¾ËºüÀԴϱî
2022-11   2232   ±ä¸Ó¸®·çÀ̽º
2022-01   2232   keros
2023-07   2232   ¹«¾Æ
2024-02   2232   L2½ºÀ§Ä¡
2020-01   2233   VSPress
2024-09   2233   ÀÌâÁØ