title: pfsense haproxy redirect unmatched to url
body: <p>I'm using haproxy on pfsense and I have some rules and acls setup which seem to be working.</p>
  
  <p>However, I'm geting this error for subdomains that do not match my rules:</p>
  
  <pre><code>503 Service Unavailable
  No server is available to handle this request.
  </code></pre>
  
  <p>I'm trying to fix a rule that will catch unmatched requests and send it to root of my site, or to a specified location.</p>
  
  <p>I've tried setting a default backend, but that just displays the backend with a wrong URL/subdomain.</p>
  
  <p>I have tried setting a Host Regex, but that redirects everything without using my existing rules.</p>
  
  <p>I'm experiencing:</p>
  
  <pre><code>domain1.com --&gt; backend1
  one.domain1.com --&gt; backend1
  
  domain2.com --&gt; backend2
  two.domain2.com --&gt; backend2
  
  three.domain.com --&gt; "503 no server is available error" because no acl
  </code></pre>
  
  <p>Desired:</p>
  
  <pre><code>domain1.com --&gt; backend1
  one.domain1.com --&gt; backend1
  
  domain2.com --&gt; backend2
  two.domain2.com --&gt; backend2
  
  three.domain1.com --&gt; redirect to domain1.com  &lt;-- need to redirect
  wrongsubdomain.domain2.com --&gt; redirect to domain2.com  &lt;-- need to redirect
  </code></pre>
  
  <p>Does anyone know how to get this only for 503s?</p>