首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

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

2012-09-04 
因其本身有错无法显示 rails for nginxvi config/environments/production.rb# Specifies the header that

因其本身有错无法显示 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'

热点排行