@bluedolphin-- Yes, you are absolutely right. Ginger, cloves and cinnamon do have anti-fungal properties. A tea made with them will certainly help fight fungal infections.
They may taste strong combined though. So you may want to make a milder tasting anti-fungal tea like chamomile and add a slice of fresh ginger, a couple of cloves or a cinnamon stick to it. Remember to buy real cinnamon though. The type that's mostly sold at groceries as cinnamon is not true cinnamon.
Licorice tea also has anti-fungal properties. When I had a fungal infection, I drank a cup of licorice tea daily and I believe it helped. It was also nice because I love licorice tea.