using passenger, nginx for dev testing

I am trying to get passenger + nginx to work on my localhost for a rails 3 app, I keep getting a page showing "403 Forbidden, nginx/0.8.53"?

my nginx.conf looks like this

    server {          listen 3000;          server_name localhost;          root /home/yadav/dev/rails/projects/TestApp/public;          passenger_enabled on;          rails_spawn_method smart;          rails_env development;

in my rails app i don't have a index.html page under the public folder. instead is got a home controller with a view for my home page, my routes.rb has the following entry:

root :to => "home#index"

if I put a index.html page under public i see it, but that's not what I want. how can I get my test app to run without the index page under public?

Rajinder Yadav wrote in post #969270:

I am trying to get passenger + nginx to work on my localhost for a rails 3 app,

Why bother? This isn't a production server, so why not just use a single Unicorn or Thin instance, or whatever Rails runs for you by default?

I've never yet found a good reason to run Passenger for development.

Best,

I am learning that's why I am bothering =) Before I can deploy to my test "production" webserver I want to figure out things.

I managed to get passenger working with Apache that I built from source just now, that went a bit smoother. Still I would like to know how to do the same thing with nginx.

Any ideas on how to get nginx working?