• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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