File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
admin_manual/configuration_server Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -860,6 +860,35 @@ Disabling this is discouraged for security reasons.
860860
861861Defaults to ``true ``
862862
863+ ratelimit_overwrite
864+ ^^^^^^^^^^^^^^^^^^^
865+
866+
867+ ::
868+
869+ 'ratelimit_overwrite' => [
870+ 'profile.profilepage.index' => [
871+ 'user' => ['limit' => 300, 'period' => 3600],
872+ 'anon' => ['limit' => 1, 'period' => 300],
873+ ]
874+ ],
875+
876+ Overwrite the individual rate limit for a specific route
877+
878+ From time to time it can be necessary to extend the rate limit of a specific route,
879+ depending on your usage pattern or when you script some actions.
880+ Instead of completely disabling the rate limit or excluding an IP address from the
881+ rate limit, the following config allows to overwrite the rate limit duration and period.
882+
883+ The first level key is the name of the route. You can find the route name from a URL
884+ using the ``occ router:list `` command of your server.
885+
886+ You can also specify different limits for logged-in users with the ``user `` key
887+ and not-logged-in users with the ``anon `` key. However, if there is no specific ``user `` limit,
888+ the ``anon `` limit is also applied for logged-in users.
889+
890+ Defaults to empty array ``[] ``
891+
863892security.ipv6_normalized_subnet_size
864893^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
865894
You can’t perform that action at this time.
0 commit comments