|
|
@ -966,6 +966,11 @@ static handler_t mod_proxy_check_extension(server *srv, connection *con, void *p |
|
|
|
|
|
|
|
if (con->mode == p->id) { |
|
|
|
handler_ctx *hctx = con->plugin_ctx[p->id]; |
|
|
|
hctx->conf.forwarded_params = p->conf.forwarded_params; |
|
|
|
hctx->conf.header_params = p->conf.header_params; |
|
|
|
hctx->conf.replace_http_host = p->conf.replace_http_host; |
|
|
|
hctx->conf.forwarded = p->conf.forwarded; |
|
|
|
hctx->conf.header = p->conf.header; |
|
|
|
hctx->gw.create_env = proxy_create_env; |
|
|
|
hctx->gw.response = buffer_init(); |
|
|
|
hctx->gw.opts.backend = BACKEND_PROXY; |
|
|
|