We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a57e9cb commit 8e9e4eeCopy full SHA for 8e9e4ee
openresty-proxy/https-proxy/lua.https.proxy.conf
@@ -46,7 +46,7 @@ init_by_lua_block {
46
if m then
47
local first_dir = ngx.re.match(request_uri, "^/([^/]+)")
48
if first_dir then
49
- local parts = ngx.re.match(first_dir[1], "^(.*)--(\d+)$")
+ local parts = ngx.re.match(first_dir[1], [[^(.*)--(\d+)$]])
50
if parts and parts[1] and parts[2] then
51
return {
52
proxy_pass = (m[2] or "http") .. "://" .. parts[1] .. ":" .. parts[2] .. request_uri
0 commit comments