Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7764612

Browse filesBrowse files
committed
Merge branch '6.4' into 7.1
* 6.4: [RateLimiter] [Rate Limiter] Mention the Caddy/FrankenPHP rate limit module
2 parents 342806f + 09328e7 commit 7764612
Copy full SHA for 7764612

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed

‎rate_limiter.rst

Copy file name to clipboardExpand all lines: rate_limiter.rst
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ time, but you can use them for your own features too.
1616
By definition, the Symfony rate limiters require Symfony to be booted
1717
in a PHP process. This makes them not useful to protect against `DoS attacks`_.
1818
Such protections must consume the least resources possible. Consider
19-
using `Apache mod_ratelimit`_, `NGINX rate limiting`_ or proxies (like
20-
AWS or Cloudflare) to prevent your server from being overwhelmed.
19+
using `Apache mod_ratelimit`_, `NGINX rate limiting`_,
20+
`Caddy HTTP rate limit module`_ (also supported by FrankenPHP)
21+
or proxies (like AWS or Cloudflare) to prevent your server from being overwhelmed.
2122

2223
.. _rate-limiter-policies:
2324

@@ -536,6 +537,7 @@ you can use a specific :ref:`named lock <lock-named-locks>` via the
536537
.. _`DoS attacks`: https://cheatsheetseries.owasp.org/cheatsheets/Denial_of_Service_Cheat_Sheet.html
537538
.. _`Apache mod_ratelimit`: https://httpd.apache.org/docs/current/mod/mod_ratelimit.html
538539
.. _`NGINX rate limiting`: https://www.nginx.com/blog/rate-limiting-nginx/
540+
.. _`Caddy HTTP rate limit module`: https://github.com/mholt/caddy-ratelimit
539541
.. _`token bucket algorithm`: https://en.wikipedia.org/wiki/Token_bucket
540542
.. _`PHP date relative formats`: https://www.php.net/manual/en/datetime.formats.php#datetime.formats.relative
541543
.. _`Race conditions`: https://en.wikipedia.org/wiki/Race_condition

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.