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

    [SOLVED] HAProxy Deleting ACL on modify - Bug or am I missing something?

    Scheduled Pinned Locked Moved pfSense Packages
    15 Posts 2 Posters 1.9k 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.
    • P
      PiBa @coatmaker618
      last edited by

      @coatmaker618

      I understood your first frontend listens on :80 ? If so type 'HTTP/HTTP(offloading)' would be the correct choice.

      For your second frontend on :443, you can use 'SNI' meaning use the acl choice for "Server Name Indication".

      C 1 Reply Last reply Reply Quote 1
      • C
        coatmaker618 @PiBa
        last edited by coatmaker618

        @PiBa said in HAProxy Deleting ACL on modify - Bug or am I missing something?:

        I understood your first frontend listens on :80 ? If so type 'HTTP/HTTP(offloading)' would be the correct choice.

        BAM! Nailed it (for HTTP)! I need to add a 2nd server to be 100% sure but this seems to work perfectly right now :) Thank you :)

        @PiBa said in HAProxy Deleting ACL on modify - Bug or am I missing something?:

        For your second frontend on :443, you can use 'SNI' meaning use the acl choice for "Server Name Indication".
        As for HTTPS, not so much. First question, should that be set to offloading too or keep it at https?

        Second Question (assuming https NOT offloading for 1st question): The only SNI options I see are "SNI TLS extension". If I go for matched/contains how much of a full URL does that include?

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

          @coatmaker618
          The SNI TLS extension only contains the hostname, and sometimes the port.. so 'www.domain.tld' or 'www.domain.tld:443' could be send in there depending on the client and actual port used..

          C 1 Reply Last reply Reply Quote 0
          • C
            coatmaker618 @PiBa
            last edited by coatmaker618

            @PiBa that was my guess, but that's strange. Because typing in the FQDN (https://subdomain.mydomain.com) takes me to an apache landing page (which is correct, though admittedly not unique). But typing in (https://subdomain.mydomain.com/folder) seems to hang.....

            update: Chrome reports "ERR_EMPTY_RESPONSE"

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

              @coatmaker618
              Hmm thats a bit strange.. can you check in chrome developer network window the network-requests and check the 'preserve log' checkbox..
              I wonder if perhaps its sending a redirect for your folder request to some unexpected (direct) location.?.

              C 1 Reply Last reply Reply Quote 0
              • C
                coatmaker618
                last edited by coatmaker618

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • C
                  coatmaker618 @PiBa
                  last edited by

                  @PiBa I PMed you. Check that & we'll go from there.

                  1 Reply Last reply Reply Quote 0
                  • C
                    coatmaker618
                    last edited by

                    It's working!! Everything above was enough to get HAProxy working. The rest was issues with the services (moving around on the network was part of the issue, but not all of it).

                    @PiBa THANK YOU!!!!

                    1 Reply Last reply Reply Quote 0
                    • C
                      coatmaker618
                      last edited by

                      Now, final order of business, is there a "mark as solved" button or do I just rename the topic to include the word solved?

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

                        @coatmaker618
                        Indeed just rename the topic. There is no 'solved' button.

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