Han

Results 3 comments of Han

> I don't know if [proxy_pass_header](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass_header) helps. It works,but I want to set the header dynamically in lua code.

> You should do something like this: > > ``` > upstream foo { > server 127.0.0.1:6666 weight=1; > } > > server { > listen 8001; > set $dynamicConnectionHeader...

> > ``` > > [alert] 22218#22218: failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core[](https://github.com/openresty/lua-resty-core)); ensure you are using an OpenResty release from https://openresty.org/en/download.html[](https://openresty.org/en/download.html) (reason: /usr/local/openresty/lualib/resty/core/socket/tcp.lua:52: /usr/local/openresty/luajit/lib/libluajit-5.1.so.2: undefined symbol: ngx_http_lua_ffi_socket_tcp_tlshandshake) in...