ASP.Net MVC 2 on nginx/mono 2.8

前端 未结 6 1474
心在旅途
心在旅途 2021-02-06 07:07

I am trying to setup ASP.Net MVC 2 application on Linux environment. I\'ve installed Ubuntu 10.10 on VirtualBox, then installed Mono 2.8 from sources. After that I have installe

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-06 07:38

    Adding following line in /etc/nginx/fastcgi_param resolves the issue for me. It also allows to use multiple virtual hosts.

    fastcgi_param HTTP_HOST $host;
    

提交回复
热议问题