Matt Holt
Matt Holt
You can adjust the delimiters using the `between` subdirective: `between ` That way you can change them from `{{ }}` to something else.
What's a good word other than "include" or "import" for that?
Yeah, that could work. I'll add this enhancement to my list. :+1:
Well, we might want a `include` variant as well, so I am leaning toward `httpIncludeRaw` and `includeRaw` if you're okay with that.
`tcp_wrappers` is probably a better name for it, yeah. Might be too late to change it (easily) but we can look into it. If anyone wants to tinker with an...
So to clarify, do you mean that when a request exceeds the per_ip rate limit, it also counts against the more permissive per_target rate limit?
Hmm, that is odd if that's really what's happening. While iterating the zones, we [return immediately](https://github.com/mholt/caddy-ratelimit/blob/12435ecef5dbb1b137eb68002b85d775a9d5cdb2/handler.go#L187) at the first one that is exceeded. They are sorted by order of how...
Huh, interesting. You want two domains from different providers pointed to your machine? Haven't seen that need yet -- but if it's legitimate we can probably refactor some things.
Awesome, good to know. Thanks! I'll close this for now but we can revisit later if there's a more compelling use case for it.
This might be a big change but if someone wants to discuss the changes and submit a PR, I'd be okay with reviewing/discussing it!