Both ngx.var.arg_x and ngx.req.get_uri_args["x"] are to get the parameters in the request uri, for example: https://tutorialspots.com/?test=1 In order to get the input parameter test, either…
Read first: How to build openresty with GeoIP and Naxsi on CentOS 7 We build a simple GeoIP and ASNnum query server: http://example.com:31000 for current…