Updated nginx rewrite rules.