config/environments/production.rb
注释
取消注释
[quote]
[color=red]注:Nginx[/color][/quote]
注释
config.action_dispatch.x_sendfile_header = "X-Sendfile"
取消注释
#config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
[quote]
[color=red]注:Nginx[/color][/quote]