因其自身有错无法显示 rails for nginx

因其本身有错无法显示 rails for nginx
vi config/environments/production.rb
  # Specifies the header that your server uses for sending files
  # config.action_dispatch.x_sendfile_header = "X-Sendfile"

  # For nginx:
  config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'