mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
chore(administration): Generate system config documentation from config.sample.php
This commit is contained in:
@@ -904,6 +904,35 @@ Whether the rate limit protection shipped with Nextcloud should be enabled or no
|
||||
|
||||
Defaults to ``true``
|
||||
|
||||
ratelimit_overwrite
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
::
|
||||
|
||||
'ratelimit_overwrite' => [
|
||||
'profile.profilepage.index' => [
|
||||
'user' => ['limit' => 300, 'period' => 3600],
|
||||
'anon' => ['limit' => 1, 'period' => 300],
|
||||
]
|
||||
],
|
||||
|
||||
Overwrite the individual rate limit for a specific route
|
||||
|
||||
From time to time it can be necessary to extend the rate limit of a specific route,
|
||||
depending on your usage pattern or when you script some actions.
|
||||
Instead of completely disabling the rate limit or excluding an IP address from the
|
||||
rate limit, the following config allows to overwrite the rate limit duration and period.
|
||||
|
||||
The first level key is the name of the route. You can find the route name from a URL
|
||||
using the ``occ router:list`` command of your server.
|
||||
|
||||
You can also specify different limits for logged-in users with the ``user`` key
|
||||
and not-logged-in users with the ``anon`` key. However, if there is no specific ``user`` limit,
|
||||
the ``anon`` limit is also applied for logged-in users.
|
||||
|
||||
Defaults to empty array ``[]``
|
||||
|
||||
security.ipv6_normalized_subnet_size
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -2425,15 +2454,16 @@ enabledPreviewProviders
|
||||
::
|
||||
|
||||
'enabledPreviewProviders' => [
|
||||
'OC\Preview\BMP',
|
||||
'OC\Preview\GIF',
|
||||
'OC\Preview\JPEG',
|
||||
'OC\Preview\Krita',
|
||||
'OC\Preview\MarkDown',
|
||||
'OC\Preview\OpenDocument',
|
||||
'OC\Preview\PNG',
|
||||
'OC\Preview\TXT',
|
||||
'OC\Preview\JPEG',
|
||||
'OC\Preview\GIF',
|
||||
'OC\Preview\BMP',
|
||||
'OC\Preview\XBitmap',
|
||||
'OC\Preview\Krita',
|
||||
'OC\Preview\WebP',
|
||||
'OC\Preview\MarkDown',
|
||||
'OC\Preview\TXT',
|
||||
'OC\Preview\OpenDocument',
|
||||
],
|
||||
|
||||
Only register providers that have been explicitly enabled
|
||||
@@ -2445,29 +2475,36 @@ concerns:
|
||||
- ``OC\Preview\Font``
|
||||
- ``OC\Preview\HEIC``
|
||||
- ``OC\Preview\Illustrator``
|
||||
- ``OC\Preview\Movie``
|
||||
- ``OC\Preview\MP3``
|
||||
- ``OC\Preview\MSOffice2003``
|
||||
- ``OC\Preview\MSOffice2007``
|
||||
- ``OC\Preview\MSOfficeDoc``
|
||||
- ``OC\Preview\Movie``
|
||||
- ``OC\Preview\PDF``
|
||||
- ``OC\Preview\Photoshop``
|
||||
- ``OC\Preview\Postscript``
|
||||
- ``OC\Preview\SVG``
|
||||
- ``OC\Preview\SGI``
|
||||
- ``OC\Preview\StarOffice``
|
||||
- ``OC\Preview\SVG``
|
||||
- ``OC\Preview\TGA``
|
||||
- ``OC\Preview\TIFF``
|
||||
|
||||
The following providers are disabled by default, because they provide an alternative to the built-in providers:
|
||||
- ``OC\Preview\Imaginary``
|
||||
- ``OC\Preview\ImaginaryPDF``
|
||||
|
||||
Defaults to the following providers:
|
||||
|
||||
- ``OC\Preview\BMP``
|
||||
- ``OC\Preview\GIF``
|
||||
- ``OC\Preview\JPEG``
|
||||
- ``OC\Preview\Krita``
|
||||
- ``OC\Preview\MarkDown``
|
||||
- ``OC\Preview\OpenDocument``
|
||||
- ``OC\Preview\PNG``
|
||||
- ``OC\Preview\TXT``
|
||||
- ``OC\Preview\JPEG``
|
||||
- ``OC\Preview\GIF``
|
||||
- ``OC\Preview\BMP``
|
||||
- ``OC\Preview\XBitmap``
|
||||
- ``OC\Preview\Krita``
|
||||
- ``OC\Preview\WebP``
|
||||
- ``OC\Preview\MarkDown``
|
||||
- ``OC\Preview\TXT``
|
||||
- ``OC\Preview\OpenDocument``
|
||||
|
||||
metadata_max_filesize
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user