Nginx-Access-Plus is a Nginx module allows limiting access to certain
http
request methods and client addresses.
e.g.
location / {
allow_method all get|head;
allow_method 192.168.1.0/24 post|delete;
deny_method all all;
}
Posted at Nginx Forum: