cbwebreader icon indicating copy to clipboard operation
cbwebreader copied to clipboard

implement X-Accel-Redirect to handle files

Open ajurna opened this issue 3 years ago • 1 comments

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.

ajurna avatar Sep 04 '22 09:09 ajurna

https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/ https://wellfire.co/learn/nginx-django-x-accel-redirects/

ajurna avatar Sep 04 '22 09:09 ajurna