Certainly the carboxylic acid will make the ester, probably better via the acid chloride. But which phenolic OH will react I can't say as there is not much between them. You will very likely get a mixture:(
The OH groups on the starting material may well be more reactive than the phenols:(