Re: content_by_lua not reading/printing header values
I found the issue(s). I am not sure why the error log did not have any logs after the lua thread got launched. Here is the updated /etc/nginx/nginx.conf location / { set $dbKey ""; content_by_lua ' local a = ngx.var.http_cookie loca
content_by_lua not reading/printing header values
My nginx.conf upstream testdb { postgres_server 10.0.9.43:9000 dbname=testdb user=postgres password=postgres; postgres_keepalive max=100 mode=multi overflow=ignore; } location / { set $x ""; content_by_lua ' local a = ngx.v