I am also interested in this functionality. It seems like this feature was included at some point. Look at this thread from 2008.
http://nginx.org/pipermail/nginx/2008-December/008751.html
Posted at Nginx Forum:http://forum.nginx.org/read.php?2,183712,187795#msg-187795