Moved rack-rewrite config to production environment only