Dec. 7, 2019, 7:17 p.m. by lufy
Post big data, get 503 server error from site. Check nginx/error.log, appears next content:
[crit] 16852#0: *1 open() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied)
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 'client_body_temp_path' in nginx config file:
client_body_temp_path /usrhome/nginx_temp;
Some said change uwsgi ini file, but doing that does not work for me. I think I'll find some better sulotion future.
Finally, I found some useful information here.
After re-deploy this blog, I have to change the conf file, add the followed statement:
client_body_buffer_size 128k;
Comments:
No comments yet :(