>как location может помочь.
[code]
location / {
try_files $uri $uri/ @apache;
return 404 " :P";
}
location @apache {
proxy_pass http://mongrel;
}
[/code]
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,102197,102288#msg-102288