Usermail contains IP Address instead of Servername or URL

Hello,

If files are shared by the Nextcloud, the user will receive an email with the info which file was shared with him. With us is in the link but the IP address of the server and not the URL of the Nextcloud system.

I have looked at the template altmail.php. The variable% s is used there.

How can I assign the URL to this variable?

Thank you.
greeting
Hermann

To do that you need to add the following line into the config.php file:

'overwrite.cli.url' => 'https://cloud.domain.tld',

And of course replace the domain with your own :slight_smile:

Hi.

Thanks for your Help. Now it’s working.

Regards
Uwe