Support Nginx X-Accel-Redirect header #295
Labels
No Label
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#295
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Nginx can serve auth-protected files for you when providing this header (docs.
My idea right now is to add a configuration option that would replace Vieter's file serving code with a dummy response that simply sends this header. Nginx would then be responsible for properly serving the files (much faster than Vieter I reckon).
I might be able to add this as a
storage_type
, with the default value beinglocal
& the option beinglocal_nginx_x_accel
or something like that.The abstraction required for this could perhaps later be used to support other storage backends (I'd like to use S3 storage myself at some point if possible).