[edit] limit_except

Syntax: limit_except method ... { ... }
Default:
Context: location
Reference: limit_except


Limits which HTTP methods are allowed for a given request path/location.

For the limitation can be used the directives of modules ngx_http_access_module and ngx_http_auth_basic_module:

limit_except  GET {
  allow  192.168.1.0/32;
  deny   all;
}

Module: HttpCoreModule