How to access the URL of backend server and check the body by lua in nginx

24 views
Skip to first unread message

Peng Liu

unread,
Aug 25, 2016, 4:33:36 AM8/25/16
to openresty-en
Hi,

At present I implement our own load balancer policy by balancer_by_lua block. I need to access the backend server by some specific URL of backend server and check some string in the response body (not the HTTP status code). How can I do that in balancer_by_lua block?

Thanks
Liu Peng
Reply all
Reply to author
Forward
0 new messages