Nginx Reverse Proxy to Apache, wp-content permissions issue

by steve-ccnc   Last Updated July 01, 2019 23:08 PM

I'm using Centos Web Panel with Nginx reverse proxy to apache to run my WP installs. I've installed Rocket Nginx for my config and it works great for the most part, however, i'm not able to upload through the wp-admin area because I'm getting a permissions error on wp-content.

wp-content's current perms are: directories: useraccount:usergroup 0755 and files: useraccount:usergroup 0644

I've tried using useraccount:nobody and nginx:nginx to no avail and I've tried both those combinations with 775,777 (directories) & 664, 666 (files) and still can't get it to work.

I'm not terribly familiar with nginx yet so any help would be appreciated.

Also, I should note that this is a site from another server that I've transferred, but there was no caching plugins installed previously and I've both run CWP's Fix Permissions and variations of:

[public_html]# find ./ -type d -exec chmod 755 {} \;
[public_html]# find ./ -type f -exec chmod 644 {} \;
[public_html]# chown -R {user}:{group} ./* as specified above


Related Questions


Wordpress on apache + nginx proxy

Updated July 17, 2015 13:03 PM


Nginx or Apache?

Updated June 25, 2018 09:08 AM