Hi Steve,

Le 20/02/2014 01:30, Steve Phillips a écrit :
Hi,

I've been attempting, unsuccessfully, to configure haproxy to reverse
proxy HTTP requests (/maps context) to the HTTPS Google maps API.
  Network traces show empty data packets coming back from Google which
appear to be interpreted as 503/bad gateway by haproxy.  I've modified
the haproxy config through various attempts to get this working
(commented out lines) but still no success.  I've compared successful
reverse proxy requests processed by Apache and the request headers are
identical (cookie order is different).  My config below:
(...)
backend maps
   #reqirep Destination:\ http(.*) Destination:\ https\\1
#  acl is-ssl  dst_port 443
#  reqadd X-Scheme:\ https  if is-ssl
#  option forwardfor
option http-keep-alive
   server      google_maps maps.googleapis.com:443

According to this, you want to talk in https to maps.googleapis.com. For that, you must add the "ssl" keyword on the server line, and maybe "verify none" with recent 1.5-dev snapshots.


--
Cyril Bonté

Reply via email to