fix links to use server name instead of global config