Updating nginx redirect methods