chore(administration): Generate system config documentation from config.sample.php

This commit is contained in:
Nextcloud bot
2025-11-13 02:55:32 +00:00
parent 1bcb1e43a2
commit 4aea04deb6

View File

@@ -874,6 +874,35 @@ Disabling this is discouraged for security reasons.
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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^