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:
Henne Vogelsang 2019-03-22 11:29:25 +01:00
parent f45540a565
commit 7b56370e90
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0

View file

@ -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.