diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2019-08-12 09:31:28 -0500 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-08-14 08:31:57 -0500 |
commit | ca89f9bf9686cefcda5338183d98aff3a81098d9 (patch) | |
tree | f518f055f971bcf28e87c9b2445b751e9cac8b15 /doc/user/admin_area/settings/rate_limits_on_raw_endpoints.md | |
parent | e57cec33b55e3b886e45e7b2ddd98cd068ee879c (diff) | |
download | gitlab-ce-add-rate-limiter-on-raw-endpoint-docs.tar.gz |
Add docs for rate limiter on raw endpointsadd-rate-limiter-on-raw-endpoint-docs
The section was included on security/raw_limits and on the admin area
settings.
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/48717
Diffstat (limited to 'doc/user/admin_area/settings/rate_limits_on_raw_endpoints.md')
-rw-r--r-- | doc/user/admin_area/settings/rate_limits_on_raw_endpoints.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/user/admin_area/settings/rate_limits_on_raw_endpoints.md b/doc/user/admin_area/settings/rate_limits_on_raw_endpoints.md new file mode 100644 index 00000000000..01503a98af8 --- /dev/null +++ b/doc/user/admin_area/settings/rate_limits_on_raw_endpoints.md @@ -0,0 +1,20 @@ +--- +type: reference +--- + +# Rate limits on raw endpoints + +> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30829) in GitLab 12.2. + +This setting allows you to rate limit the requests to raw endpoints, defaults to `300` requests per minute. +It can be modified in **Admin Area > Network > Performance Optimization**. + +For example, requests over `300` per minute to `https://gitlab.com/gitlab-org/gitlab-ce/raw/master/app/controllers/application_controller.rb` will be blocked. + +![Rate limits on raw endpoints](img/rate_limits_on_raw_endpoints.png) + +This limit is: + +- Applied independently per project, per commit and per file path. +- Not applied per IP address. +- Active by default. To disable, set the option to `0`. |