use x-forwarded-host in templates