忧郁者 发表于 2016-12-26 09:34:28

因其本身有错无法显示 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'
页: [1]
查看完整版本: 因其本身有错无法显示 rails for nginx