x_sendfile_header for nginx

openid
Marcin Kulik 12 years ago
parent 38faf7e437
commit 3e31b44f32

@ -25,7 +25,7 @@ AsciiIo::Application.configure do
# Specifies the header that your server uses for sending files
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true

Loading…
Cancel
Save