Nginx reverse proxy issue

Robin Diederen diederen at nlcom.nl
Wed Jan 26 16:36:01 MSK 2011


Hello all,

 

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. 

 

From the Nginx configuration: 

location / { proxy_pass  http://theproxiedserver/somepath; } 

 

When I visit http://nginx 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:

At X. Suite.ASP.ASPInstance..ctor(String strRootURL)

at X.Suite.General.GetASPInstanceID()

at X.Suite.iPortal.Skin.Global_asax.InitializeApplication()

at X.Suite.iPortal.Skin.Global_asax.Application_BeginRequest(Object sender, EventArgs e)

at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Best, Robin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110126/d68fd1b5/attachment.html>


More information about the nginx mailing list