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

    haproxy http_to_https warning

    Scheduled Pinned Locked Moved Cache/Proxy
    haproxy
    3 Posts 3 Posters 2.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.
    • R
      returntrip
      last edited by returntrip

      Since upgrading to pfSense+ 22.01 from pfsense CE, I have noticed that my http to https frontend:

      Screenshot_2022-02-26-07-38-06-55_3aea4af51f236e4932235fdada7d1643.jpg

      is giving me the following warning:

      WARNING] 056/073023 (98964) : parsing [/var/etc/haproxy/haproxy.cfg:85]: previous 'http-request' action is final and has no condition attached, further entries are NOOP. 
      

      The cause of this is that an ACL was not provided for this action's condition.

      I have worked around the warning by adding an ACL matching any host: .+

      However, I wonder if this is the right way to appaorach this issue.

      M 1 Reply Last reply Reply Quote 1
      • stephenw10S stephenw10 moved this topic from General pfSense Questions on
      • T TE7 referenced this topic on
      • T TE7 referenced this topic on
      • M
        mrsunfire @returntrip
        last edited by

        @returntrip Can you explain this further what you did? Got the same error message.

        Netgate 6100 MAX

        1 Reply Last reply Reply Quote 0
        • B
          bobcat05
          last edited by

          I was able to solve this by following the HAProxy documentation regarding HTTP to HTTPS redirect.

          Adding unless { ssl_fc } to my ACL action on the front end got rid of the error.

          Now it looks like : scheme https unless { ssl_fc }

          image-01.jpg image-02.jpg

          1 Reply Last reply Reply Quote 8
          • B bobcat05 referenced this topic on
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.