nginx regex match server name and redirect

CNAME: sskaje.name => sskaje.me, *.sskaje.name => sskaje.name HTTP redirect: http://xxx.sskaje.name/aaa/bbb => http://xxx.sskaje.me/aaa/bbb

Incoming search terms:nginx regex matchnginx regex server name redirectLink to this post!