Permalink
Browse files

Tweak production server for nginx.

  • Loading branch information...
1 parent 34f7bca commit 67e1eca3a0672bcb8c1bdad4104ebcd0ec1595a1 @judy committed Feb 20, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/environments/production.rb
@@ -37,7 +37,7 @@
# 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

0 comments on commit 67e1eca

Please sign in to comment.