caddy-ext icon indicating copy to clipboard operation
caddy-ext copied to clipboard

{path.<var>} not work

Open zakabluk opened this issue 2 years ago • 1 comments

Hi, pls explaine for me. I want use rate limit for my URL https://site.dom/login .

And use ` "host": ["*.site.dom"] } ], "handle": [ { "handler": "rate_limit", "key": "{path.zak}", "rate": "1r/m", "zone_size": 10000, "reject_status": 429 }, and all time get response code 200 . I expercted get 429 code during repeate of requests.

zakabluk avatar Feb 06 '23 16:02 zakabluk

Hi @zakabluk, has the problem been resolved?

At first glance, I guess "*.site.dom" does not match https://site.dom, right?

RussellLuo avatar Apr 18 '23 06:04 RussellLuo