asp mvc home root not working with mono, fastcgi and nginx
This ended up working for 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 the index line completely and changed the fastcgi_index to fastcgi_index /;
. Using Mono 3.0.3/ASP.NET MVC3.