访问http://localhost/rails/info/properties出现
We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.
一天就这样被耗掉了,这可把我急的呀。。。···
nginx 配置文件
http {
passenger_root /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9;
passenger_ruby /usr/local/rvm/wrappers/ruby-1.9.2-p290/ruby;
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
server {
listen 80;
server_name www.kennx.net;
passenger_enabled on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root /home/projects/app/testapp/public;
index index.html index.htm;
passenger_enabled on;
}