Re: setup https session via proxy remote

2015-04-01 Thread Abdelouahed Haitoute
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

Re: rewrite header http:// to https://

2015-03-31 Thread Abdelouahed Haitoute
Hello Lukas, Based on the haproxy documentation http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-reqirep http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-reqirep I have changed the configuration. Beside changing rspirep, I saw the traffic in wireshark and saw “GET

setup https session via proxy remote

2015-03-31 Thread Abdelouahed Haitoute
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:443/2 reqirep ^GET\ http://(.*) GET\ https://\1 https:/1 server nginx

rewrite header http:// to https://

2015-03-30 Thread Abdelouahed Haitoute
Hello, I’m trying to rewrite the HTTP header, rewriting http to https. Using the following article http://blog.haproxy.com/2013/02/26/ssl-offloading-impact-on-web-applications/ http://blog.haproxy.com/2013/02/26/ssl-offloading-impact-on-web-applications/ . I have the following configuration:

Re: route by destination IP address

2015-03-29 Thread Abdelouahed Haitoute
clearly what is your problem, we may be able to help you. For now you just explain what you tried to achieve. Baptiste On Sun, Mar 29, 2015 at 3:33 PM, Abdelouahed Haitoute ahaito...@rinis.nl wrote: I think I've found the issue. During test, I'm visiting a hostname http://example

Re: route by destination IP address

2015-03-29 Thread Abdelouahed Haitoute
Abdelouahed Haitoute ahaito...@rinis.nl het volgende geschreven: Hello, I’m trying to route http-requests based on destination IP address. I’ve got the following configuration, but unfortunately its not working: frontend proxy :3128 acl host_destip req.hdr_ip(host) 192.168.0.1

route by destination IP address

2015-03-29 Thread Abdelouahed Haitoute
Hello, I’m trying to route http-requests based on destination IP address. I’ve got the following configuration, but unfortunately its not working: frontend proxy :3128 acl host_destip req.hdr_ip(host) 192.168.0.1 use_backend a if host_destip default_backend b I’m expecting