title: How to redirect with additional headers in the response?
body: <p>Currently, I use haproxy to upgrade some domains to https automatically to https. I use code 308 because I did not find a possibility to add a <code>Expires: Thu, 01 Dec 2014 16:00:00</code> or a <code>Cache-Control: max-age=3600</code> header.</p>
  
  <pre><code>frontend http-frontend
      bind *:80
      mode http
      redirect scheme https code 307 if { hdr(Host) -i foo.example.com } !{ ssl_fc }
      redirect scheme https code 307 if { hdr(Host) -i bar.example.com } !{ ssl_fc }
  </code></pre>
  
  <p>How do I have to modify above redirect rules to include a <code>Cache-Control</code> header in the response?</p>