What is the reason why nginx cannot implement regular batching?

my nginx-V information is as follows:

nginx -V
nginx version: nginx/1.14.2
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) 
configure arguments: --prefix=/usr/local/nginx --add-module=/usr/local/src/lua-nginx-module-0.10.13 --add-module=/usr/local/src/ngx_devel_kit-0.3.0

my nginx vhost configuration file is as follows:

server{
    listen       80;
        server_name  t1.xxx.com;
        
      location / {
            root /t1/html;
            index index.html index.htm;
      }
  
    location /test_lua { 
      default_type "text/plain"; 
      content_by_lua "ngx.say("hello, lua")"; 
    }
     -sharp
    location ~* ^((\/manager)(\/\w+)(.+\.(jpg|jpeg|gif|png))_(\d+)+x(\d+)+\.(jpg|jpeg|gif|png))$ {
            set $para1 $1;
            set $para2 $2;
            set $para3 $3;
            set $para4 $4;
            set $para5 $5;
            set $para6 $6;
            set $para7 $7;
            set $para8 $8;
            set $para9 $9;
            default_type "text/plain";
            content_by_lua_block {
                    ngx.say(ngx.var.para1)
                    ngx.say(ngx.var.para2)
                    ngx.say(ngx.var.para3)
                    ngx.say(ngx.var.para4)
                    ngx.say(ngx.var.para5)
                    ngx.say(ngx.var.para6)
                    ngx.say(ngx.var.para7)
                    ngx.say(ngx.var.para8)
                    ngx.say(ngx.var.para9)
            }

    }

  
    error_log   /usr/local/nginx/logs/error_t1.log    error;
      access_log  off;
}

ask the master to answer! Thank you!

Jul.19,2022
  • Openresty ngx.re.find cannot uniquely match

    < H2 > describe my problem < H2 > system: debian 8.0x64 server: Openresty 1.13.6.1 default installation novice, the question is relatively simple, I beg your pardon problem description: I need to implement a unique match on request_uri (request p...

  • Content_by_lua

    write content_by_lua_block in nginx to get output by direct curl access, and the web page access status is always in pending. ...

    Mar.09,2021
  • Nginx redirection

    demand use 301 to redirect Source address http: explore.gac.one aaa bbb variable destination address http: explore.gac.one -sharp transaction variable need to give a demonstration ...

    Jul.14,2022
Menu