Open simkimsia opened 1 year ago
I have similar question as #129
the only difference is that I'm using nginx. I'm not so interested about performance, but only that I want to ensure only authenticated users can access media files.
That's all.
The documentation I have tried reading e,g, https://django-downloadview.readthedocs.io/en/latest/optimizations/nginx.html?highlight=media#setup-xaccelredirect-middlewares but still none the wiser.
They seem to emphasize for performance. Not authentication or privacy.
Can help?
If you are using DRF, some discussion and an example in
See also:
I have similar question as #129
the only difference is that I'm using nginx. I'm not so interested about performance, but only that I want to ensure only authenticated users can access media files.
That's all.
The documentation I have tried reading e,g, https://django-downloadview.readthedocs.io/en/latest/optimizations/nginx.html?highlight=media#setup-xaccelredirect-middlewares but still none the wiser.
They seem to emphasize for performance. Not authentication or privacy.
Can help?