If you're using Mono via FastCGI with nginx, and you just upgraded to nginx 1.0, you may be experiencing a 404 on the default page. Or at least I was, on both of my apps that use ASP.NET MVC (one uses 2 and one uses 3, I'm a glutton for punishment).
Specifically, the error was about not being able to find a controller for the name "/Default.aspx/Default.aspx".
Anyway, the fix is to remove all traces of index and fastcgi_index from your conf:
server {
listen 80;
server_name example.com;
location / {
root /var/www/example.com;
index Default.aspx;
fastcgi_index Default.aspx;
fastcgi_pass 127.0.0.1:9000;
include /etc/nginx/fastcgi_params;
}
}
becomes
server {
listen 80;
server_name example.com;
location / {
root /var/www/example.com;
fastcgi_pass 127.0.0.1:9000;
include /etc/nginx/fastcgi_params;
}
}
I may have just had it misconfigured, but maybe it'll help somebody else.