Haproxy url redirect "catch-all"

  • 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

  • @jason0
    Make that rule for example:

    code 307 location https://google.com

Log in to reply