Merge pull request #2451 from hennevogel/bugfix/x-sendfile
Disable X-Sendfile default
This commit is contained in:
commit
a4b1bf77d2
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ Osem::Application.configure do
|
||||||
# config.assets.manifest = YOUR_PATH
|
# config.assets.manifest = YOUR_PATH
|
||||||
|
|
||||||
# Specifies the header that your server uses for sending files
|
# 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-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.
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue