How do I set the href property on a customized node to be read from a web config?
I created an overlay in apps/cq/core/content/nav which I have named Moodle. I am trying to avoid having to manually configure the href value for deployment to multiple environments. I have tried using a relative path, but that does not work, (I get a 404 error). A full path works, but I need a different path for each environment.

A component that has been created for another page that has similar desired behavior has been configured to use the web config file to access the proper URL for each environment.
Is there a way to apply this sort of method to setting the href for the nav/moodle node programatically to the setting in the config file for each environment?