因其本身有错无法显示 rails for nginx
程序员文章站
2022-07-14 14:06:42
...
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'