Files
2026-07-13 12:32:21 +08:00

13 lines
228 B
Lua

-- a plugin fixture to test running of the rewrite phase handler.
local Rewriter = {
VERSION = "0.1-t",
PRIORITY = 1000,
}
function Rewriter:rewrite(conf)
ngx.req.set_header("rewriter", conf.value)
end
return Rewriter