How to Set Nextcloud's Public URL
Guide explains how to fix Nextcloud's missing outgoing address warning.
Set Nextcloud’s canonical base URL to the address users actually use, ensuring the server can resolve and connect to that address itself.
For HTTPS installations, the key setting is overwrite.cli.url. Include subdirectory paths if necessary and avoid using localhost.
Run the command as the web-server user or edit config/config.php to add the overwrite.cli.url entry with the correct public address.