• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Onyx 17.8, FPM+nginx Wordpress permalinks not working

Nick

New Pleskian
I've got Plesk 17.8 on linux and a Wordpress site using PHP 7.1 running as FPM served by nginx. I also have proxy mode and smart static file processing turned on and the following in the addtional nginx directives:

if (!-e $request_filename) {
set $test P;
}
if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon|internal-nginx-static-location)) {
set $test "${test}C";
}
if ($test = PC) {
rewrite ^/(.*)$ /index.php?$1;
}

When enabling WP permalinks I get a 403 forbidden from nginx. In the proxy_error_log I get this:

2018/09/14 15:41:26 [error] 26696#0: *1 directory index of "/var/www/vhosts/example.com/httpdocs/test/" is forbidden, client: xxx.xxx.xxx.xxx, server: example.com, request: "GET /test/ HTTP/1.1", host: "example.com"

I've searched around but all the solutions I've tried do not work. I cannot get permalinks to work with this configuration. If permalinks are turned off, everything works great. Any help would be greatly appreciated.
 
Back
Top