Added nginx rewrite support to router.
Merge pull request #76 from alexzv/patch-1

Added nginx rewrite support to router.