* To have clean URLs without `/index.php`, this parameter needs to be configured.
* To have clean URLs without ``/index.php``, this parameter needs to be configured.
*
* This parameter will be written as "RewriteBase" on update and installation of
* Nextcloud to your `.htaccess` file. While this value is often simply the URL
* Nextcloud to your ``.htaccess`` file. While this value is often simply the URL
* path of the Nextcloud installation, it cannot be set automatically properly in
* every scenario and needs thus some manual configuration.
*
* In a standard Apache setup, this usually equals the folder that Nextcloud is
* accessible at. So if Nextcloud is accessible via "https://mycloud.org/nextcloud",
* the correct value would most likely be "/nextcloud". If Nextcloud is running
* under "https://mycloud.org/", then it would be "/".
* accessible at. So if Nextcloud is accessible via ``https://mycloud.org/nextcloud``,
* the correct value would most likely be ``/nextcloud``. If Nextcloud is running
* under ``https://mycloud.org/``, then it would be ``/``.
*
* Note that the above rule is not valid in every case, as there are some rare setup
* cases where this may not apply. However, to avoid any update problems, this
* configuration value is explicitly opt-in.
*
* After setting this value, run `occ maintenance:update:htaccess`. Now, when the
* following conditions are met, Nextcloud URLs won't contain `index.php`:
* After setting this value, run ``occ maintenance:update:htaccess``. Now, when the
* following conditions are met, Nextcloud URLs won't contain ``index.php``:
*
* - `mod_rewrite` is installed
* - `mod_env` is installed
* - ``mod_rewrite`` is installed
* - ``mod_env`` is installed
*
* Defaults to ``''`` (empty string)
*/
'htaccess.RewriteBase' => '/',
/**
* For server setups that don't have `mod_env` enabled or restricted (e.g., suEXEC),
* For server setups that don't have ``mod_env`` enabled or restricted (e.g., suEXEC),
* this parameter has to be set to true and will assume mod_rewrite.
*
* Please check if `mod_rewrite` is active and functional before setting this
* parameter, and you updated your .htaccess with `occ maintenance:update:htaccess`.
* Otherwise, your Nextcloud installation might not be reachable anymore.
* For example, try accessing resources by leaving out `index.php` in the URL.
* Please check if ``mod_rewrite`` is active and functional before setting this
* parameter, and you updated your .htaccess with ``occ maintenance:update:htaccess``.
* Otherwise, your Nextcloud installation might not be reachable anymore.
* For example, try accessing resources by leaving out ``index.php`` in the URL.
*/
'htaccess.IgnoreFrontController' => false,
@ -758,7 +754,7 @@ $CONFIG = [
* The URL of your proxy server, for example, ``proxy.example.com:8081``.
*
* NOTE: Guzzle (the HTTP library used by Nextcloud) reads the environment
* variables HTTP_PROXY (only for CLI requests), HTTPS_PROXY, and NO_PROXY by default.
* variables ``HTTP_PROXY`` (only for CLI requests), ``HTTPS_PROXY``, and ``NO_PROXY`` by default.
*
* If you configure a proxy with Nextcloud, any default configuration by Guzzle
* is overwritten. Make sure to set ``proxyexclude`` accordingly if necessary.
@ -780,7 +776,7 @@ $CONFIG = [
* For example: ``['.mit.edu', 'foo.com']``.
*
* Hint: Use something like ``explode(',', getenv('NO_PROXY'))`` to sync this
* value with the global NO_PROXY option.
* value with the global ``NO_PROXY`` option.
*
* Defaults to empty array.
*/
@ -789,7 +785,7 @@ $CONFIG = [
/**
* Allow remote servers with local addresses, e.g., in federated shares, webcal services, and more
*
* Defaults to false
* Defaults to ``false``
*/
'allow_local_remote_servers' => true,
@ -951,8 +947,8 @@ $CONFIG = [
* will show a warning. Set to an empty list to not do any such checks (warning
* will still be shown).
* If no protocol is provided, both http and https will be tested.
* For example, 'http://www.nextcloud.com' and 'https://www.nextcloud.com'
* will be tested for 'www.nextcloud.com'
* For example, ``http://www.nextcloud.com`` and ``https://www.nextcloud.com``
* will be tested for ``www.nextcloud.com``
* If a protocol is provided, only this one will be tested.
*
* Defaults to the following domains:
@ -972,7 +968,7 @@ $CONFIG = [
/**
* Allows Nextcloud to verify a working .well-known URL redirects. This is done
* by attempting to make a request from JS to
* https://your-domain.com/.well-known/caldav/
* ``https://example.tld/.well-known/caldav/``
*
* Defaults to ``true``
*/
@ -1019,15 +1015,11 @@ $CONFIG = [
/**
* This parameter determines where the Nextcloud logs are sent.
* ``file``: the logs are written to file ``nextcloud.log`` in the default
* Nextcloud data directory. The log file can be changed with parameter
* ``logfile``.
* ``syslog``: the logs are sent to the system log. This requires a syslog daemon
* to be active.
* ``errorlog``: the logs are sent to the PHP ``error_log`` function.
* ``systemd``: the logs are sent to the Systemd journal. This requires a system
* that runs Systemd and the Systemd journal. The PHP extension ``systemd``
* must be installed and active.
*
* - ``file``: the logs are written to file ``nextcloud.log`` in the default Nextcloud data directory. The log file can be changed with parameter ``logfile``.
* - ``syslog``: the logs are sent to the system log. This requires a syslog daemon to be active.
* - ``errorlog``: the logs are sent to the PHP ``error_log`` function.
* - ``systemd``: the logs are sent to the Systemd journal. This requires a system that runs Systemd and the Systemd journal. The PHP extension ``systemd`` must be installed and active.
*
* Defaults to ``file``
*/
@ -1059,7 +1051,7 @@ $CONFIG = [
/**
* Log file mode for the Nextcloud logging type in octal notation.
*
* Defaults to 0640 (writable by user, readable by group).
* Defaults to ``0640`` (writable by user, readable by group).
*/
'logfilemode' => 0640,
@ -1410,15 +1402,15 @@ $CONFIG = [
* including previews that need to be newly generated, and those that have
* been generated.
*
* This should be greater than 'preview_concurrency_new'.
* If unspecified, defaults to twice the value of 'preview_concurrency_new'.
* This should be greater than ``preview_concurrency_new``.
* If unspecified, defaults to twice the value of ``preview_concurrency_new``.
*/
'preview_concurrency_all' => 8,
/**
* Number of new previews that are being concurrently generated.
*
* Depending on the max preview size set by 'preview_max_x' and 'preview_max_y',
* Depending on the max preview size set by ``preview_max_x`` and ``preview_max_y``,
* the generation process can consume considerable CPU and memory resources.
* It's recommended to limit this to be no greater than the number of CPU cores.
* If unspecified, defaults to the number of CPU cores, or 4 if that cannot
@ -1455,7 +1447,7 @@ $CONFIG = [
* Max memory for generating image previews with imagegd (default behavior)
* Reads the image dimensions from the header and assumes 32 bits per pixel.
* If creating the image would allocate more memory, preview generation will
* be disabled and the default mimetype icon is shown. Set to -1 for no limit.
* be disabled and the default mimetype icon is shown. Set to ``-1`` for no limit.
*
* Defaults to ``256`` megabytes
*/
@ -1589,7 +1581,7 @@ $CONFIG = [
* Sort groups in the user settings by name instead of the user count
*
* By enabling this, the user count beside the group name is disabled as well.
* @deprecated since Nextcloud 29 - Use the frontend instead or set the app config value `group.sortBy` for `core` to `2`
* @deprecated since Nextcloud 29 - Use the frontend instead or set the app config value ``group.sortBy`` for ``core`` to ``2``
*/
'sort_groups_by_name' => false,
@ -1997,7 +1989,7 @@ $CONFIG = [
'sharing.enable_share_accept' => false,
/**
* Set to true to enforce that internal shares need to be accepted
* Set to ``true`` to enforce that internal shares need to be accepted
*/
'sharing.force_share_accept' => false,
@ -2026,8 +2018,8 @@ $CONFIG = [
/**
* Set to true to always transfer incoming shares by default
* when running "occ files:transfer-ownership".
* Defaults to false, so incoming shares are not transferred if not specifically requested
* when running ``occ files:transfer-ownership``.
* Defaults to ``false``, so incoming shares are not transferred if not specifically requested
* by a command line argument.
*/
'transferIncomingShares' => false,
@ -2058,7 +2050,7 @@ $CONFIG = [
/**
* The number of CPU threads to be used by the algorithm for computing a hash.
* The value must be an integer, and the minimum value is 1. Rationally, it does
* The value must be an integer, and the minimum value is ``1``. Rationally, it does
* not help to provide a number higher than the available threads on the machine.
* Values that undershoot the minimum will be ignored in favor of the minimum.
*/
@ -2073,7 +2065,7 @@ $CONFIG = [
/**
* The number of iterations that are used by the algorithm for computing a hash.
* The value must be an integer, and the minimum value is 1. Values that
* The value must be an integer, and the minimum value is ``1``. Values that
* undershoot the minimum will be ignored in favor of the minimum.