Tag

ngx_lua

1 views collected around this technical thread.

Zhuanzhuan Tech
Zhuanzhuan Tech
Feb 16, 2022 · Backend Development

Leveraging ngx_lua for Traffic Grouping in Nginx

This article explains how to use the ngx_lua module in Nginx to assign traffic tags, implement header‑based or domain‑based routing, and integrate with dynamic upstreams for parallel testing, load testing, and gray‑release scenarios, providing code examples and configuration details.

Lua scriptingbackendload balancing
0 likes · 9 min read
Leveraging ngx_lua for Traffic Grouping in Nginx