Update nginx rewrite rules