Rate limit or limit connection per ip

How to rate limit or limit connection per ip on Caddy 2? Can I get an example please!!

A post was merged into an existing topic: Caddy 2 DDos Protection