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?
--
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely
GNU/Linux: 2.6.35-23-generic
Kubuntu x86_64 10.10 | KDE 4.5.1
Ruby 1.9.2p0 | Rails 3.0.3
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.