server {
location / {
...
}
location @proxyPass {
..
..
header_filter_by_lua_block {
ngx.print("transfer-encoding: " .. (ngx.resp.get_headers()["Transfer-Encoding"] or "Empty")) -- Output : transfer-encoding: Empty
}
}
}