• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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