• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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