In nginx we can define access (allow/deny) rules as follows:
allow 192.168.1.0/24; allow 10.1.1.0/1
However when we want to use wildcard for last 2 segments of an IP address,
that does not work and it says this syntax is incorrect. What is the way to do that? Is it impossible because two segments mean different subnets or what? An explanation about this would be a great resource for future, I assume.