nginx.conf for a restful api
Thanks to this htaccess to nginx.conf converter, and some tricks and tests I've made, here is the corresponding nginx.conf file.
I hope it will help people. ;)
EDIT: link to my configuration is dead, but the converter is still available. As long as you have a valid Apache configuration you're good to go.