Hello Mike,
On 03/07/2014 01:55 AM, Mike Goff wrote:
> Hi,
>
> I’m trying to figure out how to do the equivalent of this working nginx
> sample configuration using HAProxy 1.5-dev22:
> [...]
> frontend proxy-secure
> bind :443 ssl crt /etc/haproxy/cloud.appcelerator.com.pem
> reqadd X-Forwarded-Proto:\ https
> default_backend https
>
> backend https
> mode tcp
> server google-secure www.google.com:443
>
> However, this results in an empty response:
>
> $ curl -v https://haproxy-ssl-test.cloud.appcelerator.com
You need to add the 'ssl' keyword to the server line in the backend.
Then you need to either load the CA certificates used for verification
or add 'verify none'. Something like this should do:
backend https
mode http
server google-secure www.google.com:443 ssl verify none
Regards,
--
Nenad Merdanovic | PGP: 0x423edcb2 | Web: http://nimzo.info
Linkedin: http://www.linkedin.com/in/nenadmerdanovic