Merge pull request #2451 from hennevogel/bugfix/x-sendfile

Disable X-Sendfile default
This commit is contained in:
Henne Vogelsang 2019-03-22 13:24:48 +01:00 committed by GitHub
commit a4b1bf77d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.