title: HAProxy redirect based on path?
body: <p>I need to redirect certain paths to https - <code>frontend secured</code>
  The reason for this is that i want certain parts of my web application to only be allowed to run over https.</p>
  
  <p>I've figured out how to redirect all traffic by changing my HAproxy conf like this:</p>
  
  <pre><code>  frontend unsecured *:80
        #timeout     client 86400000
        #redirect    prefix http://domain.com code 301
  
        mode http
        timeout client 120s
  </code></pre>
  
  <p>But how can i configure it to only redirect certain sub-folder on my domain?</p>
  
  <p>What i would like is to redirect only the following URLs:</p>
  
  <pre><code>http://domain.com/info
  http://domain.com/echo
  http://domain.com/broadcast
  http://domain.com/close
  http://domain.com/probe
  http://domain.com/cd* (wildcard)
  </code></pre>
  
  <p>Is this possible?</p>