• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

FPM application served by nginx

cookkoo

Basic Pleskian
Hello Support Team,

I changed PHP Settings from "FastCGI application served by apache" To "FPM application served by nginx"
And i don't change or edit anything in "Additional nginx directives" and the default code as below:

#ignored: "-" thing used or unknown variable in regex/rew
if (!-f $request_filename){
set $rule_1 1$rule_1;
}
if (!-d $request_filename){
set $rule_1 2$rule_1;
}
if ($rule_1 = "21"){
rewrite /. /index.php last;
}

Now, i was changed about 2-3 hours and my site don't have the issue. Is this the RIGHT process or not ? or it is the UGLY thing as trialotto like to said :)

OR , I must to copy the code from .htaccess and paste it in "Show .htaccess converter" > Convert to nginx
Thank you
 
Back
Top