not getting full request header in ngx.req.get_headers() for proxy protocol header

29 views
Skip to first unread message

Ilham Sulaksono

unread,
Jan 18, 2018, 1:06:33 AM1/18/18
to openresty-en
Hi, i want to request header to my nginx instance but the header is not complete when using ngx.req.get_headers().Like X-forwarded-for is not shown in the result of ngx.req.get_headers(). I believe this because i am using proxy protocol for my load balancer. Is thee a ffeature to extract proxy_protocol header in openresty nginx lua module? Thanks
Reply all
Reply to author
Forward
0 new messages