pleskuser67553
Basic Pleskian
- Server operating system version
- CentOS Linux 7.9
- Plesk version and microupdate number
- 18.0.54
Please could someone elaborate on the importance of this rule, and/or the context in which it is important, in /etc/nginx/plesk.conf.d/vhosts/example.com.conf. I've Googled and searched this forum to no avail.
I'm trying to add some nginx directives via the Plesk UI additional directives screen, but they get included in the conf below this rule, so I assume this rule is taking precendence over most of the rules I try to add for example, 404 handling, redirections etc. I've set wordpressPermalinkHandlingFeature to false in panel.ini as described and it does not appear to have any adverse effect on my WordPress site with WP Toolkit enabled, permalinks appear to continue to work okay...
WordPress site is on PHP-FPM served by Apache, with nginx proxy mode enabled.
NGINX:
# WordPress permalink
# To remove this rule, add "wordpressPermalinkHandlingFeature = false" in the [ext-wp-toolkit] section of panel.ini
# then reconfigure the current domain
set $sef_entry_point /;
if ($uri ~* "^/") {
set $sef_entry_point "/index.php?$args";
}
location @wpt_permalinks_fallback {
try_files $uri $sef_entry_point;
}
error_page 404 = @wpt_permalinks_fallback;
error_page 405 = @wpt_permalinks_fallback;
I'm trying to add some nginx directives via the Plesk UI additional directives screen, but they get included in the conf below this rule, so I assume this rule is taking precendence over most of the rules I try to add for example, 404 handling, redirections etc. I've set wordpressPermalinkHandlingFeature to false in panel.ini as described and it does not appear to have any adverse effect on my WordPress site with WP Toolkit enabled, permalinks appear to continue to work okay...
WordPress site is on PHP-FPM served by Apache, with nginx proxy mode enabled.