Translate a website from Apache to NGIX. Can't configure the config.
The goal is to have the following rule .htaccees
RewriteRule ^(strana)/([^/]*)(/?)+$ index.php?do=xfsearch&xn=$1&xf=$2 [L]
Through the convector will receive:
rewrite ^/(strana)/([^/]*)(/?)+$ /index.php?do=xfsearch&xn=$1&xf=$2 last;
And all like anything, the link as www.мойсайт/strana/Россия opens normally, but if you put at the end of the slash / , the browser offers to download the file.