Hello everyone,

i got this configuration to offload TLS on multiple process and handle the plain http on only one process:

global
    nbproc 3

listen web_tls
    mode    http
    bind *:443 ssl crt certif.pem process 2
    bind *:443 ssl crt certif.pem process 3

    maxconn 100000

    server web-plain unix@/var/run/haproxy_plain.sock send-proxy-v2

frontend web_plain
    mode http
bind unix@/var/run/haproxy_plain.sock accept-proxy user nobody process 1

    maxconn 100000

    use backend .../...

no matter what user, mode or directory i use for the unix socket it always ends the same way : error 503

log : web_tls~ web_tls/web-plain 6/0/-1/-1/6 503 213 - - SC-- 0/0/0/0/3 0/0 "GET / ....

If i try with a IPV4 server (127.0.0.1:80) instead of unix socket, it works well ...

I really don't know what's wrong here...if you have any advice ...

Thank you !


Reply via email to