On 19 Fev 2012 20h43 WET, nginx-forum at nginx.us wrote:
> What should I do ?
Try:
location ~ "^/([0-9a-zA-Z]{1,6})$" {
return 302 /links/?to=$1;
}
location ~ "^/([0-9]{1,9})/banner/(.*)$" {
return 302 /links/?uid=$1&adt=2&url=$2;
}
location ~ "^/([0-9]{1,9})/(.*)$" {
return 302 /links/?uid=$1&adt=1&url=$2;
}
--- appa