Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: RewriteCond ?
Спасибо все, сделал с location
[code]
location ~ ^/(([-_a-zA-Z0-9/]+)([-_a-zA-Z0-9]+))$ {
rewrite ^(.*)$ http://$http_host$1/ permanent;
}
[/code]
Кому интересно.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,145111,145359#msg-145359
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|