Change the URL in email notifications?

Julian L5 years ago

I have the server deployed on an AWS EC2 instance (with an RFC1918 IP address) and I have an Elastic IP (static) on the front of it. The server doesn't know what this public IP address is. I've got email notifications flowing from the server, but they include the private IP address in the URL, linking to the event. I would like to change this.

I've had a look at the message templates, but they don't seem to include the URL in the template section. I've had a look though the server config file options in the documentation, and I can't find an option in there either.

Is there a way to change either the IP address in the URL or to substitute the IP address for the FQDN of the server (I would have to manually supply this, as the private address resolves to a private DNS entry)?

Any suggestions much appreciated! :)

Ernesto Vallejo5 years ago
<entry key='web.url'>yourURLhere</entry>
Julian L5 years ago

Perfect, thank you! :)