I currently deny IP addresses like this in the nginx.conf file:
But how would I deny
deny 42.22.*.*; <---- this obviously doesnt work, what is the correct syntax for nginx?
deny 22.214.171.124/24 <---- not sure what this means, but it made me try
deny 42.22.0/999.0/999 <---- which fails.
So whats the correct syntax?