Dilute tea tree oil with water and apply topically to vaginal area. Do not dilute a mixture of 5% or less tea tree oil or it will make the infection worse.
While not sufficiently clinically studied, a compound called terpinen-4-ol in tea tree oil is said to be responsible.