• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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