正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。
ドキュメントに関する現在のご利用体験についてお聞かせください。アンケートにご協力ください。

Pages domain rate limits

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

The availability of this feature is controlled by a feature flag. For more information, see the history.

You can limit how often each user can add and verify GitLab Pages custom domains. These limits apply to the UI and to the Pages domains API. The limits apply to each user, not to each IP address. Project and group domains count toward the same limits.

On GitLab.com, you cannot change these limits. For the values that apply, see GitLab.com rate limits.

The following limits are available:

LimitDefaultApplies to
Domain creation50 domains each dayAdding a custom domain in the UI and with POST /projects/:id/pages/domains, and adding a group domain. Attempts that fail validation do not count toward the limit.
Domain verification5 requests every minuteVerifying a custom domain in the UI and with PUT /projects/:id/pages/domains/:domain/verify, and verifying a group domain.

When the pages_domain_rate_limits flag is enabled, requests over a limit return 429 Too Many Requests in the API and an error message in the UI. The API response includes a Retry-After header set to the full period of the limit. The period is one day for domain creation and one minute for domain verification. These requests are also logged to the auth.log file. While the flag is disabled, requests over a limit are logged but not blocked.

Change the Pages domain rate limits

Prerequisites:

  • Administrator access.

To change the Pages domain rate limits:

  1. In the upper-right corner, select Admin.
  2. In the left sidebar, select Settings > Network.
  3. Expand Pages domain rate limits.
  4. Change the value of either limit. To turn off a limit, set it to 0.
  5. Select Save changes.

You can also set these limits with the application settings API, using pages_domain_create_limit and pages_domain_verify_limit.