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