replace ngx.re.match to ngx.re.find
parent
c56b191735
commit
884a6f387a
2
init.lua
2
init.lua
|
@ -1,6 +1,6 @@
|
|||
require 'config'
|
||||
local match = string.match
|
||||
local ngxmatch=ngx.re.match
|
||||
local ngxmatch=ngx.re.find
|
||||
local unescape=ngx.unescape_uri
|
||||
local get_headers = ngx.req.get_headers
|
||||
local optionIsOn = function (options) return options == "on" and true or false end
|
||||
|
|
Loading…
Reference in New Issue