Rewrite rules at ngingx configuration