mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Disable X-Sendfile default
There are people deploying this in heroku, on nginx, standalone etc. etc. Do not set web server specific defaults in the code...
This commit is contained in:
parent
f45540a565
commit
7b56370e90
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ Osem::Application.configure do
|
|||
# config.assets.manifest = YOUR_PATH
|
||||
|
||||
# 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
|
||||
|
||||
# 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