Passenger :: SecurityException“Line too long”

时间:2014-01-30 09:09:28

标签: ruby-on-rails nginx passenger

在服务器中部署代码后,我收到以下错误。我正在使用 phusion passenger nginx

以下是我的服务器配置文件。

 server{
        listen xx:xx:xx:xxx:8081;
        server_name sideline.com;
        client_max_body_size 500M;
        passenger_enabled on;
        root /home/deploy/domains/sideline/current/public;
        rails_env production;
      }

我收到了以下错误。任何人都可以帮助我吗?

An internal error occurred while trying to spawn the application.

Exception type: Passenger::Security Exception

Error message: Line too long

1 个答案:

答案 0 :(得分:0)

这意味着,在应用程序启动期间,打印的行超过1024个字节(默认行限制)。如果你摆脱它,那将解决你的问题。

另见https://groups.google.com/forum/#!topic/phusion-passenger/rI4BYBu8ke8