Nginx_limit_access_module - support to deny request by specific variable

Hi folks,

I develop a module which can deny request by specific variable. The
module’s URL is: GitHub - yaoweibin/nginx_limit_access_module: support to deny specific variable with HTTP POST interface

A simple deny ip example:
http {

    limit_access_zone zone=one:5m bucket_number=10007 type=ip;

    server {
        listen 80;
        server_name localhost;

        limit_access_variable zone=one $limit_access_deny;

        location / {
            root html;
            index index.html index.htm;

            if ($limit_access_deny) {
                return 403;

        location /limit_interface {
            deny all;
            limit_access_interface zone=one;

The request method sent to the interface location is POST, and the
content-type is application/x-www-form-urlencoded. The content is like


And then the requests from and are banned in
3600 seconds.

Weibin Y.