ASP.NET pages with nginx

parnican nginx-forum at nginx.us
Tue Feb 11 14:09:49 UTC 2014


This didn't work.
proxy_set_header Host  $proxy_host; 
next try
proxy_set_header Host $http_host:8080;
added #proxy_set_header Connection close; //or

 location / {
      root /var/www/demo;
      index index.html index.htm default.aspx Default.aspx;

      proxy_set_header Host  $proxy_host;
      #proxy_set_header Connection close;

      include /etc/nginx/fastcgi_params;
      fastcgi_index Default.aspx;
      fastcgi_pass 127.0.0.1:9000;
   }
}

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247323,247405#msg-247405



More information about the nginx mailing list