Dear community,

Is it possible to let the backend start a new https-session on with the CONNECT 
method?

We’d like to get this setup in production. But unfortunately the proxy remote 
issue is the only thing that stand in our way.

Any help is welcome.

Abdelouahed

> Op 31 mrt. 2015, om 15:22 heeft Abdelouahed Haitoute <ahaito...@rinis.nl> het 
> volgende geschreven:
> 
> Hello,
> 
> I have the following configuration wich works great:
> 
> frontend http1 127.0.0.10:1080
>         default_backend ssl1
> 
> backend ssl1
>         reqirep ^GET\ http://(.*):80(.*) GET\ https://\1:443\2 <https://1/2>
>         reqirep ^GET\ http://(.*) GET\ https://\1 <https://1/>
>         server nginx 192.168.68.100:443 ssl verify required ca-file 
> /etc/haproxy/certs/ca.crt crt /etc/haproxy/certs/client.pem
> 
> The backend ssl1 is currently direct connected to the HTTPS-service. But in 
> the production situation there’s a squid proxy server between them. So the 
> backend must connect the HTTPS-service via the squid proxy server.
> 
> I know in apache I can achieve this by using the ProxyRemote Directive: 
> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyremote 
> <http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyremote>.
> 
> How can I achieve this in haproxy?
> 
> Thanks in advance!
> 
> Abdelouahed

Reply via email to