Skip to content

Rack::Sendfile config fell out of default template #54401

@jcoyne

Description

@jcoyne

In 6360b73#diff-5c435d953ddbafd6244053b1668c5050568fc41988553bba7b3e5472d47a8242L29-L32
configuration for x_sendfile_header was removed (presumably because Kamal doesn't use it).

However this configuration variable is still used in the default middleware stack:

middleware.use ::Rack::Sendfile, config.action_dispatch.x_sendfile_header

Does it make sense to restore it to production.rb.tt for people who still want to configure Rack::Sendfile?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions