location ~*^/(service|user|about|appstore|news)/
{
rewrite ^/(.*)$ http://www1.xxxx.com/$1 last;
}
{
rewrite ^/(.*)$ http://www1.xxxx.com/$1 last;
}
location ~/(\d+)/{
rewrite ^/(.*) http://www1.xxx.com/$1 last;
}
location ~^/multiPlayer/
{
rewrite ^/multiPlayer/(.*)\.swf$ /front/swf/multiPlayer.swf?id=$1 last;
rewrite ^/multiPlayer/(.*)\.html$ /front/multiPlayer.html?id=$1 last;
}
location ~^/singlePlayer/
{
rewrite ^/singlePlayer/(.*)\.swf$ /front/swf/singlePlayer.swf last;
rewrite ^/singlePlayer/(.*)\.html$ /front/singlePlayer.html last;
}