Skip to content

Commit cf515ca

Browse files
committed
chore(administration): Generate system config documentation from config.sample.php
1 parent 27ff71c commit cf515ca

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

admin_manual/configuration_server/config_sample_php_parameters.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,26 @@ automatically by the installer. This example is for documentation only,
228228
and you should never use it because it will not work. A valid ``instanceid``
229229
is created when you install Nextcloud.
230230

231+
serverid
232+
^^^^^^^^
233+
234+
235+
::
236+
237+
'serverid' => -1,
238+
239+
This is a unique identifier for your server.
240+
241+
It is useful when your Nextcloud instance is using different PHP servers.
242+
Once it's set it shouldn't be changed.
243+
244+
Value must be an integer, comprised between 0 and 1023.
245+
246+
When config.php is shared between different servers, this value should be overriden with "NC_serverid=<int>" on each server.
247+
Note that it must be overriden for CLI and for your webserver.
248+
249+
Example for CLI: NC_serverid=42 occ config:list system
250+
231251
passwordsalt
232252
^^^^^^^^^^^^
233253

0 commit comments

Comments
 (0)