How to deny or allow specified IP in Nginx

Nginx denies or allows the specified IP and uses the module HTTP Access Control Module (HTTP Access). The control rules are checked in the stated order, and the first access rule that matches the...