Turn on rate limiting on the REST gateway, based on the setup created for T398919: Epic: API rate limiting dry run (WE5.1.3b).
The goal is to reduce the number of unidentified requests.
For the initial deployment, there will be three tiers of rate limits:
- very high or no limit: known clients (google bot, bing bot, etc), trusted networks (WMF, WMCS, WME), community-approved bots (TBD). See https://wikitech.wikimedia.org/wiki/CDN/Backend_api.
- moderate limits: authenticated requests (JWT), compliant bots (UA), and organic browser traffic (heuristic)
- restrictive limits: all other traffic