Hi,
I' m a lame;)
How create rewrite to nginx?
This is my .htaccess
Options FollowSymLinks
RewriteEngine On
RewriteBase /p/
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteCond %{HTTP_HOST} ![0-9]$ [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301]
RewriteCond %{REQUEST_URI} ^\/$
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)$ pl/ [L]
RewriteRule ^(index.php)$ pl/$1 [L]
RewriteCond %{REQUEST_URI} ^/images.+$
RewriteRule ^.+(images/.+)$ pl/$1 [L]
RewriteRule ^(pl\/)([a-zA-Z0-9_-]+),{1}([0-9]+),{1}([0-9]+)$ $2,$3,$4 [R=301]
RewriteRule ^(pl\/)([a-zA-Z0-9_-]+),{1}([0-9]+)$ $2,$3 [R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)([a-zA-Z0-9_-]+),{1}([0-9]+),{1}([0-9]+)$ pl/index.php?id=$3&idd=$4 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)([a-zA-Z0-9_-]+),{1}([0-9]+)$ pl/index.php?id=$3 [L]