• 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

Resolved Nginx settings for Typo3 RealURL ?

Martin Weil

New Pleskian
Hello,

I am trying to set up nginx in combination with Typo3 6.x and RealURL. After many failed attempts I got it to work with these settings (if I leave that blank the pages throw a 404 error):

(in Plesk under <Domains> - <mydomain.com> - <Apache&nginx settings> - <additional nginx-instructions>)

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;
}

This seems to be working but I can't shake the feeling that this is not as correct as it should be. The website is pretty slow.


Can someone please give me some advice about what to optimize here?

Thank you
 
Hi Martin Weil,

pls. note, that NGINX rewrites ( just as http/https - directives ) are content related and have absolutely nothing to do with Plesk, it's components and extensions.


If you desire help for NON-PLESK - related issues/errors/problems, you would open a thread at:

 
Back
Top