asp.net mvc - asp mvc home root not working with mono, fastcgi and nginx -


i have mono 2.6.7 , i'm trying port asp.net mvc application. i've managed solve case sensitivity problem setting variable mono_iomap=all . have still 1 more problem, home root isn't working. page not found error (although /home , /home/index work). i'm using nginx , fastcgi. here configuration nginx:

server {     listen       80;     server_name  mydomain.com;     access_log   /var/log/nginx/mydomain.com.log;      location / {         root  /home/ec2-user/www/mydomain-web/;         index  index.html index.htm default.aspx default.aspx;         fastcgi_index default.aspx;         fastcgi_pass 127.0.0.1:9000;         include /etc/nginx/fastcgi_params;     } 

this ended working me.

server {     listen       80;     server_name  mydomain.com;     access_log   /var/log/nginx/mydomain.com.log;      location / {         root  /home/ec2-user/www/mydomain-web/;         fastcgi_index /;         fastcgi_pass 127.0.0.1:9000;         include /etc/nginx/fastcgi_params; } 

i removed index line , changed fastcgi_index fastcgi_index /;. using mono 3.0.3/asp.net mvc3.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -