Nginx +乘客不工作-客户请求挂起直到超时
我在安装了Amazon Linux的EC2实例上运行,并且通过安装了Nginx passenger-install-nginx-module。完整的安装过程与此类似。主要的区别是,红宝石通过RVM安装,如所描述这里。 ngix.conf: user www; worker_processes 1; events { worker_connections 1024; } http { passenger_root /var/www/.rvm/gems/ruby-2.2.2/gems/passenger-5.0.9; passenger_ruby /var/www/.rvm/gems/ruby-2.2.2/wrappers/ruby; include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; server { listen 80; server_name .example.com; passenger_enabled on; root /var/www/example_com/public; error_page 404 /404.html; error_page 500 502 503 504 /500.html; } } 耙路: Prefix …