Add nginx rewrite config

Example nginx config based on .htaccess