Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HAProxy 1.8.30 and http2

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 533 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cybis
      last edited by

      Hi,

      I'm currently running pfsense CE 2.5.2 and the HAProxy package 0.61_3, i.e. HAProxy 1.8.30, and I have couple questions regarding the HTTP/2 configuration.

      I've enabled HTTP/2 on my frontend via the advanced SSL certificate specific option:
      Screenshot 2022-01-03 165028.png
      But the auto-generated configuration does not show that option:
      Screenshot 2022-01-03 165158.png
      I would have expected the alpn h2,http/1.1 option at the end of the frontend bind directive 🤔 However, I do see HTTP/2 traffic between the client and the proxy, so the option is definitely working.

      The latest HAProxy (2.4) documentation explicitly mentiones HTTP/2 in the backend. However, providing the HTTP/2 option in the pass-through section in the backend (advanced) config does not work and the 1.8 documenation only mentiones HTTP/2 for a frontend config. Is my understanding correct that the 1.8 version simply does not support HTTP/2 between the proxy and a backend server?

      My last question is rather a general one: if one configures 30 seconds timeout for a frontend and 60 seconds for a backend, for example, then one would still get a timeout if the backend server does not respond within 30 seconds, right? If so, what's the purpose/use case of having two timeout parameters?

      BR

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.