Erik ten Hag was proud of Ajax's performance in their 2-1 home defeat to Real Madrid in the first leg of their UEFA Champions League last-16 tie.