Nginx rewrite rule for Kohana

This took me a while to investigate how to set the rewrite rule for Kohana in nginx, then I found it is really easy