server {
listen 80;
server_name point.local;
root /home/kulikov/www/point.local/httpdocs/;
try_files $uri /index.php?$args;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS off;
}
location ~* \.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|swf|flv|avi|djvu|mp3|mp4|ogv|3gp)$ {
root /home/kulikov/www/point.local/httpdocs;
}
error_log /home/kulikov/www/point.local/logs/nginx_error.log;
access_log /home/kulikov/www/point.local/logs/nginx_access.log;
}
RewriteRule ^products/category/487227?$ catalog/наручные-часы [R=301,L,QSA]