Files
gitlabhq/doc/administration/settings/rate_limits_on_raw_endpoints.md
2025-02-17 03:18:02 +00:00

1.1 KiB

stage, group, info, title
stage group info title
none unassigned To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments Rate limits on raw endpoints

{{< details >}}

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab Self-Managed

{{< /details >}}

This setting defaults to 300 requests per minute, and allows you to rate limit the requests to raw endpoints:

  1. On the left sidebar, at the bottom, select Admin.
  2. Select Settings > Network.
  3. Expand Performance optimization.

For example, requests over 300 per minute to https://gitlab.com/gitlab-org/gitlab-foss/raw/master/app/controllers/application_controller.rb are blocked. Access to the raw file is released after 1 minute.

The raw blob request rate limit per minute set to 300.

This limit is:

  • Applied independently per project, per file path.
  • Not applied per IP address.
  • Active by default. To disable, set the option to 0.

Requests over the rate limit are logged into auth.log.