nginx не переходит к шаблонной странице rails приложения /app/views/home/index.html.erb!
Как быть?
nginx.conf :
http {
passenger_root /home/dro13zd/.rvm/gems/ruby-1.9.3-p392/gems/passenger-3.0.1$
passenger_ruby /home/dro13zd/.rvm/wrappers/ruby-1.9.3-p392/ruby;
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name testapp.local;
passenger_enabled on;
root /home/dro13zd/Documents/ROR/testapp/public;
passenger_use_global_queue on;
autoindex on;
rails_spawn_method smart;
location / {
rails_spawn_method smart;
rails_env development;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}