OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: docb on April 08, 2018, 01:08:04 am

Title: HA Proxy Rule Error?
Post by: docb on April 08, 2018, 01:08:04 am
Hi,
I have defined 3 conditions and some corresponding rules, but it does not work how expectet:
Condition 1: if path matches /test  -> Rule 1 use backend 1
Condition 2: if path matches /othertest  -> Rule 2 use backend 1
Condition 3: if SSL/TLS connection established
=> Rule 3 "Redirect": UNLESS Condition 1, Condition 2, Condition 3; logical operator OR  then http-request redirect prefix https://www.google.de (I want to redirect all traffic if not ment for one of my Servers and if not SSL)

And I have a frontend where I activate all 3 rules.
Result: Rule 1 and 2 work, but Redirect does not work, if I use https://myserver/notest I get a 503 Service Unavailable instead of a redirect.
Has anyone an idea what goes wrong?
Best regards
doc