这是我的nginx.conf,afetr成功部署了capistrano:
http{
server {
listen 80;
server_name localhost;
passenger_enabled on;
root /home/gwuix2/picurwebaruhaz/releases/20130322133124/public/;
}
}
我还添加了
gem 'capistrano-nginx'
到我的Gemfile.rb
Nothings帮助,默认的nginx页面一直显示。 服务器: Ubuntu VPS 12.10 我按照本教程: https://www.digitalocean.com/community/articles/how-to-install-rails-and-nginx-with-passenger-on-ubuntu
答案 0 :(得分:0)
修改nginx.conf后你重启了Nginx吗?
答案 1 :(得分:0)