Edge automatically sends emails in response to certain events as described in Customizing Edge email templates.
Many of these emails contain a link. For example, when a new user is added to an organization, the Edge UI sends the user an email containing a login URL in the form:
The domain is determined automatically by Edge and is typically correct for the organization.
However, there is a chance that when the Edge UI is behind a load balancer that the automatically
generated domain name is incorrect. If so, you can use the
conf_apigee_apigee.emails.hosturl property to explicitly set the domain name portion
of the generated URL.
To set the domain:
- Open the
ui.propertiesfile in an editor. If the file does not exist, create it:
conf_apigee_apigee.emails.hosturl.For example, set
- Save your changes.
- Make sure the properties file is owned by the 'apigee' user:
chown apigee:apigee /opt/apigee/customer/application/ui.properties
- Restart the Edge UI:
/opt/apigee/apigee-service/bin/apigee-service edge-ui restart