<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Installing haproxy load balancing for http and https</title>
	<atom:link href="http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/</link>
	<description>Making Voice 2.0 Work</description>
	<lastBuildDate>Thu, 11 Mar 2010 20:26:05 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: gaojinbo</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-1025</link>
		<dc:creator>gaojinbo</dc:creator>
		<pubDate>Sat, 06 Feb 2010 04:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-1025</guid>
		<description>My name is gaojinbo.I come from China.
Your haproxy write very good.Thank you for everything.</description>
		<content:encoded><![CDATA[<p>My name is gaojinbo.I come from China.<br />
Your haproxy write very good.Thank you for everything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijesh</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-713</link>
		<dc:creator>Vijesh</dc:creator>
		<pubDate>Wed, 23 Dec 2009 17:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-713</guid>
		<description>HAProxy would work great for that.</description>
		<content:encoded><![CDATA[<p>HAProxy would work great for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pramod shukla</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-712</link>
		<dc:creator>pramod shukla</dc:creator>
		<pubDate>Wed, 23 Dec 2009 11:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-712</guid>
		<description>Hi,

I have java utilities , like java socket programs which accepts raw string and process it.
I want to deploy that utility to multiple servers and i am looking for a solution to balance the load between these two utilities.
Please tell me if HAProxy is useful to that or not.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have java utilities , like java socket programs which accepts raw string and process it.<br />
I want to deploy that utility to multiple servers and i am looking for a solution to balance the load between these two utilities.<br />
Please tell me if HAProxy is useful to that or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijesh</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-711</link>
		<dc:creator>Vijesh</dc:creator>
		<pubDate>Tue, 22 Dec 2009 17:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-711</guid>
		<description>Jimmy,

You are right the X-Forward-For doesn&#039;t work with tcp. HaProxy doesn&#039;t even send the information.</description>
		<content:encoded><![CDATA[<p>Jimmy,</p>
<p>You are right the X-Forward-For doesn&#8217;t work with tcp. HaProxy doesn&#8217;t even send the information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jimmy</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-709</link>
		<dc:creator>jimmy</dc:creator>
		<pubDate>Tue, 22 Dec 2009 10:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-709</guid>
		<description>Did anyone get this last part working?

I wouldn&#039;t have thought that a header (such as X-Forwarded-For could be added when it is an SSL request as this header is HTTP and if the payload is encrypted then it can&#039;t be modified. Is that correct?

Does haproxy even add this header when the mode is &#039;tcp&#039;?</description>
		<content:encoded><![CDATA[<p>Did anyone get this last part working?</p>
<p>I wouldn&#8217;t have thought that a header (such as X-Forwarded-For could be added when it is an SSL request as this header is HTTP and if the payload is encrypted then it can&#8217;t be modified. Is that correct?</p>
<p>Does haproxy even add this header when the mode is &#8216;tcp&#8217;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pritpal Singh</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-618</link>
		<dc:creator>Pritpal Singh</dc:creator>
		<pubDate>Tue, 08 Dec 2009 10:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-618</guid>
		<description>We will configure HAProxy as a transparent proxy, i.e., it will pass on the original user&#039;s IP address in a field called X-Forwarded-For to the backend web servers. Of course, the backend web servers should log the original user&#039;s IP address in their access logs instead of the IP addresses of our load balancers. Therefore we must modify the LogFormat line in /etc/apache2/apache2.conf and replace %h with %{X-Forwarded-For}i:

Change apache conf file

From:-
#LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot;&quot; combined

To:-
LogFormat &quot;%{X-Forwarded-For}i %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot;&quot; combined</description>
		<content:encoded><![CDATA[<p>We will configure HAProxy as a transparent proxy, i.e., it will pass on the original user&#8217;s IP address in a field called X-Forwarded-For to the backend web servers. Of course, the backend web servers should log the original user&#8217;s IP address in their access logs instead of the IP addresses of our load balancers. Therefore we must modify the LogFormat line in /etc/apache2/apache2.conf and replace %h with %{X-Forwarded-For}i:</p>
<p>Change apache conf file</p>
<p>From:-<br />
#LogFormat &#8220;%h %l %u %t \&#8221;%r\&#8221; %&gt;s %b \&#8221;%{Referer}i\&#8221; \&#8221;%{User-Agent}i\&#8221;" combined</p>
<p>To:-<br />
LogFormat &#8220;%{X-Forwarded-For}i %l %u %t \&#8221;%r\&#8221; %&gt;s %b \&#8221;%{Referer}i\&#8221; \&#8221;%{User-Agent}i\&#8221;" combined</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-514</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 31 Oct 2009 20:05:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-514</guid>
		<description>We can&#039;t do much about the IP address - that&#039;s part of the problem with doing things this way.</description>
		<content:encoded><![CDATA[<p>We can&#8217;t do much about the IP address &#8211; that&#8217;s part of the problem with doing things this way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Villegas</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-508</link>
		<dc:creator>Greg Villegas</dc:creator>
		<pubDate>Fri, 30 Oct 2009 10:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-508</guid>
		<description>I follow the above configuration, it&#039;s working. My only problem is the logs of the back-end server. The ip address of the load balancer is being log and not the client&#039;s ip address. Any idea how to resolve this. Thanks</description>
		<content:encoded><![CDATA[<p>I follow the above configuration, it&#8217;s working. My only problem is the logs of the back-end server. The ip address of the load balancer is being log and not the client&#8217;s ip address. Any idea how to resolve this. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harry</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-331</link>
		<dc:creator>Harry</dc:creator>
		<pubDate>Tue, 29 Sep 2009 18:02:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-331</guid>
		<description>I use this with my set up and ended up with this error message when I tried to restart HAproxy

[ALERT] 271/135248 (6335) : parsing [/etc/haproxy/haproxy.cfg:26] : server webserver1 has neither service port nor check port. Check has been disabled.
[ALERT] 271/135248 (6335) : Error reading configuration file : /etc/haproxy/haproxy.cfg

any idea?</description>
		<content:encoded><![CDATA[<p>I use this with my set up and ended up with this error message when I tried to restart HAproxy</p>
<p>[ALERT] 271/135248 (6335) : parsing [/etc/haproxy/haproxy.cfg:26] : server webserver1 has neither service port nor check port. Check has been disabled.<br />
[ALERT] 271/135248 (6335) : Error reading configuration file : /etc/haproxy/haproxy.cfg</p>
<p>any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomo</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-330</link>
		<dc:creator>Shlomo</dc:creator>
		<pubDate>Tue, 29 Sep 2009 17:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-330</guid>
		<description>There is a difference between &quot;terminating&quot; SSL requests and &quot;transparently proxying&quot; SSL requests. Transparently proxying SSL means looking at the TCP/IP packet headers only, without decrypting the SSL contents within. This kind of load balancing is supported by HAProxy - just configure a TCP (&quot;mode tcp&quot;) load balancer, as shown in this article. Terminating SSL means authenticating with the client via SSL and decrypting the traffic into plaintext. When this is performed by the load balancer, the LB needs to use an SSL provider - such as apache&#039;s mod_ssl - to perform these functions. This is not shown in this article.</description>
		<content:encoded><![CDATA[<p>There is a difference between &#8220;terminating&#8221; SSL requests and &#8220;transparently proxying&#8221; SSL requests. Transparently proxying SSL means looking at the TCP/IP packet headers only, without decrypting the SSL contents within. This kind of load balancing is supported by HAProxy &#8211; just configure a TCP (&#8221;mode tcp&#8221;) load balancer, as shown in this article. Terminating SSL means authenticating with the client via SSL and decrypting the traffic into plaintext. When this is performed by the load balancer, the LB needs to use an SSL provider &#8211; such as apache&#8217;s mod_ssl &#8211; to perform these functions. This is not shown in this article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijesh</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-320</link>
		<dc:creator>Vijesh</dc:creator>
		<pubDate>Mon, 28 Sep 2009 20:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-320</guid>
		<description>The real client IP is lost with this setup.</description>
		<content:encoded><![CDATA[<p>The real client IP is lost with this setup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paras</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-286</link>
		<dc:creator>Paras</dc:creator>
		<pubDate>Fri, 25 Sep 2009 07:13:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-286</guid>
		<description>Does it retain the real client IP for https transactions ?</description>
		<content:encoded><![CDATA[<p>Does it retain the real client IP for https transactions ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijesh</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-223</link>
		<dc:creator>Vijesh</dc:creator>
		<pubDate>Sat, 05 Sep 2009 01:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-223</guid>
		<description>Yea, HAProxy doesn&#039;t outright say this as a solution. It is hidden in the documentation though. I use it right now and seems to work great. Good luck.</description>
		<content:encoded><![CDATA[<p>Yea, HAProxy doesn&#8217;t outright say this as a solution. It is hidden in the documentation though. I use it right now and seems to work great. Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JB</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-222</link>
		<dc:creator>JB</dc:creator>
		<pubDate>Sat, 05 Sep 2009 00:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-222</guid>
		<description>I&#039;ll give it a shot.  It&#039;s just strange that of all the articles discussing HA Proxy and SSL, yours is the only one that says HA Proxy supports this.  Even HA Proxy&#039;s own website says an additional layer is needed to properly terminate the SSL requests.  But like I said, I&#039;ll give it a shot and see what happens.  I&#039;ll post my findings one way or the other.

Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;ll give it a shot.  It&#8217;s just strange that of all the articles discussing HA Proxy and SSL, yours is the only one that says HA Proxy supports this.  Even HA Proxy&#8217;s own website says an additional layer is needed to properly terminate the SSL requests.  But like I said, I&#8217;ll give it a shot and see what happens.  I&#8217;ll post my findings one way or the other.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijesh</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-219</link>
		<dc:creator>Vijesh</dc:creator>
		<pubDate>Fri, 04 Sep 2009 16:54:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-219</guid>
		<description>SSL is on the web servers themselves. HAProxy forwards all requests via IP to the web servers, so it doesn&#039;t matter if its encrypted traffic. The concept is very similar to a NAT on the clients end, HAProxy acts as a router with this configuration.</description>
		<content:encoded><![CDATA[<p>SSL is on the web servers themselves. HAProxy forwards all requests via IP to the web servers, so it doesn&#8217;t matter if its encrypted traffic. The concept is very similar to a NAT on the clients end, HAProxy acts as a router with this configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JB</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-218</link>
		<dc:creator>JB</dc:creator>
		<pubDate>Fri, 04 Sep 2009 15:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-218</guid>
		<description>So in this configuration, are the SSL certificates residing on the web servers and you are simply forwarding on the SSL requests to those servers?  Like codemonkey -- I&#039;ve read numerous articles that in order to properly handle SSL request on HAProxy load balanced configurations, once must also install Apache with mod_ssl to work in a reverse proxy configuration.</description>
		<content:encoded><![CDATA[<p>So in this configuration, are the SSL certificates residing on the web servers and you are simply forwarding on the SSL requests to those servers?  Like codemonkey &#8212; I&#8217;ve read numerous articles that in order to properly handle SSL request on HAProxy load balanced configurations, once must also install Apache with mod_ssl to work in a reverse proxy configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijesh</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-179</link>
		<dc:creator>Vijesh</dc:creator>
		<pubDate>Sat, 25 Jul 2009 00:08:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-179</guid>
		<description>Yea, it definitely works. I use it in production right now. It works because of the IP based filtering. All traffic is between the server-endpoint and client, the haproxy system doesn&#039;t get involved in the streams.</description>
		<content:encoded><![CDATA[<p>Yea, it definitely works. I use it in production right now. It works because of the IP based filtering. All traffic is between the server-endpoint and client, the haproxy system doesn&#8217;t get involved in the streams.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: codemonkey</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-178</link>
		<dc:creator>codemonkey</dc:creator>
		<pubDate>Fri, 24 Jul 2009 23:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-178</guid>
		<description>Does this work? I thought haproxy does not load balance HTTPS connections.

Tried the same. HTTPS does not work. Any ideas?

Thanks.</description>
		<content:encoded><![CDATA[<p>Does this work? I thought haproxy does not load balance HTTPS connections.</p>
<p>Tried the same. HTTPS does not work. Any ideas?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-05-02 &#171; Bloggitation</title>
		<link>http://www.lastengine.com/99/installing-haproxy-load-balancing-for-http-and-https/comment-page-1/#comment-23</link>
		<dc:creator>links for 2009-05-02 &#171; Bloggitation</dc:creator>
		<pubDate>Sat, 02 May 2009 07:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.lastengine.com/?p=99#comment-23</guid>
		<description>[...] Load balancing for ssl web servers using haproxy (tags: web cluster 247up sysadmin)      Comments (0) [...]</description>
		<content:encoded><![CDATA[<p>[...] Load balancing for ssl web servers using haproxy (tags: web cluster 247up sysadmin)      Comments (0) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
