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 @@ -874,6 +874,35 @@ Disabling this is discouraged for security reasons.
874874
875875Defaults to ``true ``
876876
877+ ratelimit_overwrite
878+ ^^^^^^^^^^^^^^^^^^^
879+
880+
881+ ::
882+
883+ 'ratelimit_overwrite' => [
884+ 'profile.profilepage.index' => [
885+ 'user' => ['limit' => 300, 'period' => 3600],
886+ 'anon' => ['limit' => 1, 'period' => 300],
887+ ]
888+ ],
889+
890+ Overwrite the individual rate limit for a specific route
891+
892+ From time to time it can be necessary to extend the rate limit of a specific route,
893+ depending on your usage pattern or when you script some actions.
894+ Instead of completely disabling the rate limit or excluding an IP address from the
895+ rate limit, the following config allows to overwrite the rate limit duration and period.
896+
897+ The first level key is the name of the route. You can find the route name from a URL
898+ using the ``occ router:list `` command of your server.
899+
900+ You can also specify different limits for logged-in users with the ``user `` key
901+ and not-logged-in users with the ``anon `` key. However, if there is no specific ``user `` limit,
902+ the ``anon `` limit is also applied for logged-in users.
903+
904+ Defaults to empty array ``[] ``
905+
877906security.ipv6_normalized_subnet_size
878907^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
879908
You can’t perform that action at this time.
0 commit comments