• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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