Как реализовать в Haproxy что бы при коннекте к 15.24.10.82:8088 требовало авторизацию по логину:паролю ? Код | defaults log global mode http option httplog option dontlognull timeout connect 5000 timeout client 50000 timeout server 50000 errorfile 400 /etc/haproxy/errors/400.http errorfile 403 /etc/haproxy/errors/403.http errorfile 408 /etc/haproxy/errors/408.http errorfile 500 /etc/haproxy/errors/500.http errorfile 502 /etc/haproxy/errors/502.http errorfile 503 /etc/haproxy/errors/503.http errorfile 504 /etc/haproxy/errors/504.http
frontend http_frontend bind :::8088 default_backend mytest1_web
backend mytest1_web balance leastconn server mytestweb1 15.24.10.82:80 server mytestweb2 15.24.10.82:88 server mytestweb3 15.24.10.82:90
|
|