Remove condition to match hdr(host) in haproxy redirect rule
authorRyan O'Hara <rohara@redhat.com>
Thu, 8 Jun 2017 15:26:11 +0000 (10:26 -0500)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 12 Jun 2017 08:23:09 +0000 (08:23 +0000)
commit2606a4e66fa2802de604d56ade018119bebd79cc
tree5a74d8676e5ab591fb6893e31107a102f8a6ad24
parent1041ef2305c0261608d52ad9c727667be4e76d99
Remove condition to match hdr(host) in haproxy redirect rule

The horizon proxy should redirect all HTTP requests to HTTPS,
regardless of the 'Host' field in the header. The current rule will
cause haproxy to redirect HTTP requests if the 'Host' field contains
the public virtual IP address. It will not redirect if the 'Host'
field contains a hostname, FQDN, etc.

Change-Id: I6c8f58a30f97cdf4c668734793197ea976297733
Signed-off-by: Ryan O'Hara <rohara@redhat.com>
manifests/haproxy.pp