Place a saucepan on the stove, heat it, briefly toast the chopped herbs until the scent arises. Caramelize the brown sugar, then add the peach and onions, stir well. Gradually stir in the apricots, add the liquids, grate the ginger, reduce the temperature. Let everything good simmer gently for 20 minutes with the lid closed.