This is most likely happening because Nginx is the web server that is hosting the media files. If you have your Django media directory assigned to a static assignment within your Nginx config, Nginx will have access to the file directory and serve the file before your Django application sees the request. Same issue will occur when using Apache2.
Thanks bro... nice explanation
thanks bro. keep uploading❤
Nice explaination
I did the same thing but it is not working on django server
Nginx with gunicorn
hi tuktuk. i am facing same issue. how did you solve this issue?
This is most likely happening because Nginx is the web server that is hosting the media files. If you have your Django media directory assigned to a static assignment within your Nginx config, Nginx will have access to the file directory and serve the file before your Django application sees the request. Same issue will occur when using Apache2.
ok
nice vid