- Plesk for Linux
Unable to open website pages except
.phpwhen nginx is enabled. The following error is shown in a browser:
PLESK_INFO: 403 Forbidden
The following options are enabled at Plesk > Domains > example.com > Apache & Nginx Settings.
- Restrict the ability to follow symbolic links
- Smart static files processing
The following records can be found in domain's error log
CONFIG_TEXT: 2020/08/31 11:37:51 [error] 19701#0: *21516 open() "/var/www/vhosts/example.com/httpdocs/website/wp/wp-content/test.css" failed (13: Permission denied), client: 203.0.113.2, server: example.com, request: "GET /wp-content/test.css HTTP/2.0", upstream: "https://203.0.113.10:7081/wp-content/uploads/2015/09/menschlich1.png", host: "www.example.com", referrer: "https://www.example.com/"
This is a Plesk bug with ID PPPM-5348, which will be fixed in future product updates.
nginx is unable to access files with default permissions if the option Restrict the ability to follow symbolic links is enabled.
Log in to Plesk web interface and apply one of the following workarounds: