Thanks to Maxim Dounin. Finally I modify the module. Cat the URI string to $np_uri, make $np_uri like that http://backend/filename.ext. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,221447,221467#msg-221467