I am trying to set up a WordPress website on a VPS using Nginx with the following specifications:
The permissions and SELinux context of the html (Nginx root) folders and files:
html root folder: 755 / httpd_sys_content_t
folders in html: 755 / httpd_sys_content_t
files in html: 644 / httpd_sys_content_t
wp-content folder: 755 / httpd_sys_rw_content_t
wp-content files: 644 / httpd_sys_rw_content_t
However, I cannot install any plugins from the dashboard. Specifically, I am trying to install the Thim Core plugin, and it is telling me that the plugin folder does not have the correct permissions. The next time I try to enter my wp-admin page, i get Unable to connect and the URL looks like this:
I have used a day trying to get somewhere without success, so I turn to you. I really hope someone can point me in the right direction here!
I am not sure this is relevant, but my wp-config.php is in another directory with the same permission and context as the 'html root folder', and the file itself with the same permission and context as the 'files in html'. Also, I am running SELinux in permissive mode without luck.