<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[HAPROXY with IIS 7.5]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am using haproxy for load balancing IIS servers.</p>
<p dir="auto">backend Nameofbackend<br />
    mode http<br />
    balance roundrobin<br />
    option forwardfor<br />
    option httpchk HEAD / HTTP/1.0\r\nHost:localhost<br />
    cookie SERVERID insert indirect nocache<br />
    server HOSTNAME IPADDRESS:PORT check<br />
    http-request set-header X-Forwarded-Port %[dst_port]<br />
    http-request add-header X-Forwarded-Proto https if { ssl_fc }</p>
<p dir="auto">When I disable the tag option httpchk HEAD / HTTP/1.0\r\nHost:localhost, the url works fine</p>
<p dir="auto">But when we enable this it stops working.<br />
I need this tag for server health check. Can someone please help me with the correct configuration. Or I need to check something on IIS side?</p>
<p dir="auto">Any help will be appreciated. Thanks</p>
]]></description><link>https://forum.netgate.com/topic/91988/haproxy-with-iis-7-5</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 16:45:04 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/91988.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Nov 2015 17:20:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HAPROXY with IIS 7.5 on Fri, 20 Nov 2015 22:03:21 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot dear for quick help.<br />
You made my weekend good :)</p>
]]></description><link>https://forum.netgate.com/post/585376</link><guid isPermaLink="true">https://forum.netgate.com/post/585376</guid><dc:creator><![CDATA[yunushaikh]]></dc:creator><pubDate>Fri, 20 Nov 2015 22:03:21 GMT</pubDate></item><item><title><![CDATA[Reply to HAPROXY with IIS 7.5 on Fri, 20 Nov 2015 19:09:24 GMT]]></title><description><![CDATA[<p dir="auto">GET is the normal http command to request a webpage so pretty much always works. But does request the full body of the website, and could cause some overhead. When asking for OPTIONS the webserver does not need to try to serve up the complete webpage. Same for HEAD this should allow for less wasted processing time on the iis server. But not all web-servers support all HTTP commands.</p>
<p dir="auto">The 'localhost' it could be that the webserver is expecting the website/virtualhost requested before generating a valid reply, the expected requested domain name would surely not be localhost, not sure if that is the case for iis..</p>
]]></description><link>https://forum.netgate.com/post/585336</link><guid isPermaLink="true">https://forum.netgate.com/post/585336</guid><dc:creator><![CDATA[PiBa]]></dc:creator><pubDate>Fri, 20 Nov 2015 19:09:24 GMT</pubDate></item><item><title><![CDATA[Reply to HAPROXY with IIS 7.5 on Fri, 20 Nov 2015 18:46:12 GMT]]></title><description><![CDATA[<p dir="auto">Hey PiBa,</p>
<p dir="auto">It worked perfectly<br />
Thanks a ton for your help man. You are awesome.</p>
<p dir="auto">But can you please tell me the options we changed what difference does it makes from current configuration.</p>
<p dir="auto">I am new to HAPROXY so want to understand difference</p>
<p dir="auto">HEAD and OPTIONS ?<br />
instead of localhost why we need domain name?</p>
]]></description><link>https://forum.netgate.com/post/585325</link><guid isPermaLink="true">https://forum.netgate.com/post/585325</guid><dc:creator><![CDATA[yunushaikh]]></dc:creator><pubDate>Fri, 20 Nov 2015 18:46:12 GMT</pubDate></item><item><title><![CDATA[Reply to HAPROXY with IIS 7.5 on Fri, 20 Nov 2015 18:35:06 GMT]]></title><description><![CDATA[<p dir="auto">Try changing:<br />
localhost to www.your.tld (the domain name you want the enduser visit)<br />
1.0 to 1.1<br />
HEAD to GET or OPTIONS</p>
]]></description><link>https://forum.netgate.com/post/585319</link><guid isPermaLink="true">https://forum.netgate.com/post/585319</guid><dc:creator><![CDATA[PiBa]]></dc:creator><pubDate>Fri, 20 Nov 2015 18:35:06 GMT</pubDate></item></channel></rss>