Skip to content

Commit fffba55

Browse files
authored
Merge pull request #60185 from nextcloud/jtr/docs-config-ovewriteCLIUrl
2 parents c1ab99e + 7744667 commit fffba55

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

config/config.sample.php

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -739,12 +739,19 @@
739739
'overwritecondaddr' => '',
740740

741741
/**
742-
* Use this configuration parameter to specify the base URL for any URLs which
743-
* are generated within Nextcloud using any kind of command line tools (cron or
744-
* occ). The value should contain the full base URL:
742+
* Set the canonical base URL Nextcloud should use when generating URLs outside
743+
* a normal web request, such as in background jobs or at the command-line.
744+
* The value should be the full base URL including the web root, for example:
745745
* ``https://www.example.com/nextcloud``
746-
* Please make sure to set the value to the URL that your users mainly use to access this Nextcloud.
747-
* Otherwise, there might be problems with the URL generation via cron.
746+
*
747+
* In most setups, this should match the URL your users normally use to access
748+
* Nextcloud. If it is incorrect, URL generation may be wrong in cron jobs,
749+
* ``occ``, notifications, and similar contexts.
750+
*
751+
* NOTE: During installation, Nextcloud seeds this value from the installer’s
752+
* current access context. If it was not preseeded (for example, via
753+
* ``autoconfig.php``), the inferred value may not match the public URL that
754+
* users normally use to access Nextcloud and may need adjustment.
748755
*
749756
* Defaults to ``''`` (empty string)
750757
*/

0 commit comments

Comments
 (0)