cbwebreader
cbwebreader copied to clipboard
implement X-Accel-Redirect to handle files
I'm submitting a ...
- [ ] bug report
- [X] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior? currently python handles a lot of the file transfers.
What is the motivation / use case for changing the behavior? using this i could protect the thumbnails from unauthenticated access and also transfer pdf's using this instead of streaming them via DRF.
https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/ https://wellfire.co/learn/nginx-django-x-accel-redirects/