Am 2017-03-07 10:15, schrieb Willy Tarreau:
Thanks. In the mean time, I'm interested in trying to figure the code
paths we follow. Could please tell me :
  - if you're using send-proxy on your server lines ?

yes, all 2 backends have (but see first post, for full config:
        backend nginx-http2-backend
                mode tcp
                server www-1 127.0.0.1:8083 check send-proxy

        backend nginx-http-backend
                mode tcp
                server www-1 127.0.0.1:8082 check send-proxy

  - if you're using ssl on your server lines ?

ssl is terminated in the frontend, no ssl connection to the backend

  - if you're using SSL health checks ?

could you please see my first post, I'm not sure what you mean by this question, but I would says no, as the backend is not using ssl.

  - if you're only using HTTP or only using another TCP protocol, or
    a combination of both ?

please see here also my first post for more details.
haproxy is working completely in tcp mode.
nginx is listening on port 8082 with http1 mode
nginx is listening on port 8083 with http2 mode
haproxy forwards the connection with acl:
                acl http2 ssl_fc_alpn -i h2
                use_backend nginx-http2-backend if http2
                default_backend nginx-http-backend


--
Gruß
Matthias

Reply via email to