Commit 1e693808 authored by Vladimir Shushlin's avatar Vladimir Shushlin

Rename pages rate limits feature flag name

parent 8e8e9cb6
...@@ -1059,11 +1059,11 @@ Source-IP rate limits are enforced using the following: ...@@ -1059,11 +1059,11 @@ Source-IP rate limits are enforced using the following:
gitlab_pages['rate_limit_source_ip_burst'] = 600 gitlab_pages['rate_limit_source_ip_burst'] = 600
``` ```
1. To reject requests that exceed the specified limits, enable the `FF_ENABLE_RATE_LIMITER` feature flag in 1. To reject requests that exceed the specified limits, enable the `FF_ENFORCE_IP_RATE_LIMITS` feature flag in
`/etc/gitlab/gitlab.rb`: `/etc/gitlab/gitlab.rb`:
```ruby ```ruby
gitlab_pages['env'] = {'FF_ENABLE_RATE_LIMITER' => 'true'} gitlab_pages['env'] = {'FF_ENFORCE_IP_RATE_LIMITS' => 'true'}
``` ```
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure). 1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment