Enable X-Accel-Redirect for nginx production use
This commit is contained in:
parent
458d1b668d
commit
e446ec57b1
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ Debshots::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…
Add table
Add a link
Reference in a new issue