I have been experimenting with this:
location ^~ /[a-zA-Z]+/ {
rewrite ^/(.*)/(.*) /$2;
}
Of course I am getting 404 errors...
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,251908,251909#msg-251909