Mix brown sugar, soy sauce, white sugar, water, white wine vinegar, rice vinegar, and ground ginger in a saucepan; bring to a boil.