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:
https://domain/login
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.properties
file in an editor. If the file does not exist, create it:vi /opt/apigee/customer/application/ui.properties
- Set
conf_apigee_apigee.emails.hosturl.
For example, setconf_apigee_apigee.emails.hosturl
as:conf_apigee_apigee.emails.hosturl="http://myCo.com"
- 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