Nginx Post Big Data Permission Denied (in log) lufy December 07, 2019 <p>Post big data, get 503 server error from site. Check nginx/error.log, appears next content:</p> <p>[crit] 16852#0: *1 open() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied)</p> <p>The problem is clear, but I think it's not wise to change the default permission after 'dnf install nginx'. After a lot of bing search, I found a temporary sulotion -- change the '<span class="kn">client_body_temp_path</span>' in nginx config file:</p> <p> <span class="kn">client_body_temp_path</span> /usrhome/nginx_temp;</p> <p>Some said change uwsgi ini file, but doing that does not work for me. I think I'll find some better sulotion future.</p> <p>Finally, I found some useful information <a href="https://wincent.com/wiki/Fixing_nginx_client_body_temp_permission_denied_errors" target="_self">here</a>.</p> <p>After re-deploy this blog, I have to change the conf file, add the followed statement:</p> <p> client_body_buffer_size 128k;</p>
Comments (0)
Leave a Comment
No comments yet. Be the first to comment!