Support Nginx X-Accel-Redirect header #295
Labels
No labels
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 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#295
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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_accelor 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).