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

    Redirect to HTTPS as backend

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 1 Posters 266 Views 1 Watching
    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.
    • senseivitaS Offline
      senseivita
      last edited by senseivita

      Quick q,

      I want to set up redirection to HTTPS on a backend.

      Normally I set it up right in the frontend using ACL/Actions combos but I figured it makes more sense instead of listing what I what need and what I need passthrough, it'd be better to just add the passthroughs and send the rest to the default backend (that will redirect to HTTPS).

      I had the backend with the code already in the advanced section from an older setup, but, because this is coming from an old setup (and I started overwriting things before realizing it was already ready), I'm not sure what to set in the servers part.

      As I recall this is ignored, or mostly ignored. If the latter is true, should the server be pointed to a specific port or any will do? What should the working mode be?

      Screen Shot 2019-04-02 at 09.27.18.png

      Thanks !

      -- UPDATE

      Forgot to mention: this is for HAProxy. Thanks!

      Missing something? Word endings, maybe? I included a free puzzle in this msg if you solv--okay, I'm lying. It's dyslexia, makes me do that, sorry! Just finish the word; they're rarely misspelled, just incomplete. Yeah-yeah-I know. Same thing.

      1 Reply Last reply Reply Quote 0
      • senseivitaS Offline
        senseivita
        last edited by

        ...turns out ACLs are processed in order, just like firewall rules. My bad! ๐Ÿ˜… Just have to keep a wildcard ACL matching a redir action just like before but at the very end of the ACL list, no default backend needed.

        I'm so stupid!--no wonder why I kept noticing the little blue anchors next to each entry. ๐Ÿ˜‚ ...is it anchor or anvil? ๐Ÿคจ IDK anymore.

        Missing something? Word endings, maybe? I included a free puzzle in this msg if you solv--okay, I'm lying. It's dyslexia, makes me do that, sorry! Just finish the word; they're rarely misspelled, just incomplete. Yeah-yeah-I know. Same thing.

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