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

Haproxy url redirect "catch-all"

Scheduled Pinned Locked Moved Cache/Proxy
2 Posts 2 Posters 1.3k 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.
  • J
    jason0
    last edited by Jun 3, 2019, 5:21 AM

    Hello,

    I am running pfsense 2.4.4-RELEASE-p2 on an SG-1000.

    I am trying to configure a frontend to pass specific hostnames internally and have a final rule as a "catch-all" that will redirect browsers to a different web server entirely. Something like issue a 307 (temp redirecdt) response code followed by a url.

    I have created an entry in actions for "http-request redirect". I am stuck now at the prompt for "rule:". What rule? Where do I define this? (it's really hard to figure out how to take ha-proxy documentation and map it into the gui here at times.)

    What am I missing?
    Thank you for your time!

    Screen Shot 2019-06-02 at 22.10.51.png

    P 1 Reply Last reply Jun 3, 2019, 5:43 PM Reply Quote 0
    • P
      PiBa @jason0
      last edited by Jun 3, 2019, 5:43 PM

      @jason0
      Make that rule for example:

      code 307 location https://google.com
      
      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received