Ketoconazole is an antifungal agent with hair grow properties. It is well known for the treatment of sebhorreic dermatitis or fungal dermatitis, candidiasis, and tinea. Use ketoconazole cream, 2%, apply it once daily to cover the affected and immediate surrounding area. The most known product is Nizoral shampoo, mainly used for the treatment of dandruff. Nizoral shampoo was banned for commercial use, but you can still find it at various sources. My opinion on Nizoral shampoo: you can still use it safely, the 2% solution, daily.
Nizoral shampoo works great in seborrheic dermatitis or any fungal dermatitis that generates dandruff and oil overproduction. By regulating the oil production and antifungal properties, ketoconazole can stimulate hair growth, too. Studies shows good results against hair loss, but FDA and other organizations actually banned ketoconazole because of the effects on liver function; some cases, very rare indeed, of acute liver failure have been reported. Is this a real concern? I really do not think so. Ketoconazole has been used for decades with no worries; being so cheep, some big organizations have interests to ban it to promote their more expensive products.