nginx 500 error, permission denied for tmp folder

前端 未结 1 536
被撕碎了的回忆
被撕碎了的回忆 2021-01-06 04:58

I got 500 from Django admin, when I tried to upload a photo.

When I inspect the error.log I found:

2014/03/13 23:00:55 [crit] 16478#0: *24 open() \"/         


        
相关标签:
1条回答
  • 2021-01-06 05:32

    Phew. Solved. As the error message says, this indeed was just a "Permission" issue.

    Check through "/var/lib/nginx/tmp/client_body/" and make sure the permission is correct at each directory level solve the issue.

    More details can be found here : http://derekneely.com/2009/06/nginx-failed-13-permission-denied-while-reading-upstream/ and here : Permission Denied error with Django while uploading a file

    0 讨论(0)
提交回复
热议问题