adds rewrites to fastcgi locations