I am trying matching based on two query parameters ip and user with two named matchers @yes and @no. If query type=user respond with Yes, if type is anything else, respond with No.
I would expect a request via curl 'http://localhost/?id=1&type=admin' (the type parameter is not user) to result in a No, but I get a Yes if I curl localhost.
In fact, as long as &type is present, caddy responds with Yes.
Can someone please tell if I understood the not directive wrong or what is happening? Thank you in advance!
2. Error messages and/or full log output:
n/a
3. Caddy version:
v2.7.6
4. How I installed and ran Caddy:
a. System environment:
Arch Linux
x64
Official Repos
systemd (no modifications to systemd unit)