This explanation is not super clear to me.

Maybe my requested explanation of how substitution works belongs here instead of the sample config file? Or maybe in both?