I am writing this because it took me nearly 2 days to find out what was going on in regards to my server configuration, wordpress installs (multiple user accounts)
The following errors being recieved from nginx were the following:
open() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied)
(keep in mind finding this error code - which has more detail for example urls and upload paths for wordpress was not easy)
Most will search on google or other platforms: "Http error. media upload wordpress" maybe include cwp or centos web panel however all the guides I was reading say to increase the max memory, add some code to the functions, edit the php.ini, mod security, or the best one "click on user accounts -> fix permissions" to get things working properly (works for ftp, but has nothing to do with nginx). However NOTHING was working. Still the http error was coming up within the wordpress media upload section. Granted I need this to work and I was determined to figure out this issue.
Here is the fix.
From ssh / putty / terminal.. write the following command:
chown -R nobody:nginx /var/lib/nginx
Is it possible to include this within an upcoming update for configurations that are using Apache, Nginx, Varnish?
I am absolutely loving my install of Centos Web Panel and could not see myself going back to cpanel. Yes I switched from cpanel to Centos Web Panel. Best decision, even upgraded to the pro for only $1 a month.