ext-plugin-post-req is almost the same as ext-plugin-pre-req.
ext-plugin-post-req
ext-plugin-pre-req
The only difference is that it runs after executing builtin Lua plugins and before proxying to the upstream.
See the documentation of ext-plugin-pre-req for how to configure it.