<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.E-mailStijl17
{mso-style-type:personal-compose;
font-family:Calibri;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
p.trace, li.trace, div.trace
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>Hello all,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>For the last few days I’ve been trying Nginx as a
reverse proxy in front of an IIS webserver with an ASP.NET webapp. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>From the Nginx configuration: <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>location / { proxy_pass <a
href="http://theproxiedserver/somepath">http://theproxiedserver/somepath</a>; }
<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>When I visit <a href="http://nginx/">http://nginx</a> I
see an error generated by “theproxiedserver”; from this I conclude
that the basic proxying is working. The error more or less tells me the ASP
application has issues fetching its URL. Can I somehow convince Nginx to work
around this issue? The IIS server is a blackbox, no modifications can be made
there. My stracktrace:<o:p></o:p></span></font></p>
<p class=trace><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>At
X. Suite.ASP.ASPInstance..ctor(String strRootURL)<o:p></o:p></span></font></p>
<p class=trace><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>at
X.Suite.General.GetASPInstanceID()<o:p></o:p></span></font></p>
<p class=trace><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>at
X.Suite.iPortal.Skin.Global_asax.InitializeApplication()<o:p></o:p></span></font></p>
<p class=trace><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>at
X.Suite.iPortal.Skin.Global_asax.Application_BeginRequest(Object sender,
EventArgs e)<o:p></o:p></span></font></p>
<p class=trace><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>at
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()<o:p></o:p></span></font></p>
<p class=trace><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>at
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Calibri><span style='font-size:12.0pt;
font-family:Calibri'>Best, Robin<o:p></o:p></span></font></p>
</div>
</body>
</html>