Hello,
I constructed such config (within ngx_openresty-1.5.8.1)
server {
header_filter_by_lua 'ngx.log(ngx.ERR, "handler1 code here")';
location /a {
}
location /b {
header_filter_by_lua 'ngx.log(ngx.ERR, "handler2 code here")';
}
}
Now when i request:
/a - handler1 works
/b - handler2 works and handler1 doesn't work
is it right behaviour?
I expected when /b called both handlers should work.