Error 403 when I try to access an uploaded image in Django with Nginx

When I upload some images together with a total size of about 10MB, I get a 'PermissionError: [Errno 1] Operation not permitted' error when I try to see them.

How can I set my media folder to securely accept uploads and downloads from my users?

I have a server configured with Django, Nginx and Gunicorn, so I tried to increase the client_max_body_size value in Nginx configuration file but no results.

Back to Top