• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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