• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

NGINX + wrong file permissions = 404

LinqLOL

Basic Pleskian
Hi,

On all Plesk 11 servers we have the following problem. When a customer uploads a file (NON php file, such as stylesheet file) with to low permissions like (700) it will result in a 404 error page (nginx error page NOT Apache).

Ofcourse this is not a problem BUT after fixing the file permissions you have to RESTART nginx to get the page loaded. Anyone who know what is causing this and how it can be fixed?
 
LinqLOL,

Did you try to change file permissions using Plesk Filemanager?
It works in my case: after I've changed permissions from 700 to 744 I've got 200OK response from my website.
 
Hi,

Parallels checked out this issue. The cause is unknown, but the following fixed the issue for us:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
Back
Top