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

    HAProxy HSTS Preloading

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 1.4k 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.
    • M
      michaelschefczyk
      last edited by

      Dear All,

      The option to enable HSTS (HTTP strict transport security, https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security) in HAProxy is very good, I think. A slight step further should be the use of HSTS preloading (https://hstspreload.appspot.com/). That, however requires the HSTS header containing not only "max-age", as the HAProxy package does nicely generate, but also "includeSubDomains; preload". Would it be reallistic to include these options in the package?

      Regards,

      Michael Schefczyk

      1 Reply Last reply Reply Quote 0
      • P
        PiBa
        last edited by

        Hi Michael,

        It would indeed be a step further, but i think its a rather 'dangerous' option if i understand it correctly..If you dont think it through you might loose access to http only sites on the same domain that you/someone forgot where running as well.. Ill put it on my todo list though.

        Regards,
        PiBa-NL

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