add alias directive in web app conf template