ASP.Net MVC 2 on nginx/mono 2.8

前端 未结 6 1471
心在旅途
心在旅途 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:54

    I've been doing some testing with this as well, using all ubuntu10.10 binaries. From what I can make from it, either nginx fails to pass the hostname of the mono server fails to receive it over the fastcgi protocol. Anyhow, the tutorial line:

     fastcgi-mono-server2 /applications=www.domain1.xyz:/:/var/www/www.domain1.xyz/ /socket=tcp:127.0.0.1:9000
    

    doesn't work. Removing the hostname makes the thing work:

     fastcgi-mono-server2 /applications=/:/var/www/www.domain1.xyz/ /socket=tcp:127.0.0.1:9000
    

    but this of course blocks the use of multiple virtual mono hosts.

提交回复
热议问题