Add PCRE support for nginx

This commit adds support for PCRE in Nginx.
This adds the ability to use the rewrite modules to ease migration from
other platforms where the post/category slugs differ