You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to use Redis client within njs? I need to get/set entries on the Redis server. I know that there is a Lua Redis client, however, I cannot use the Lua module in my Nginx image.
The text was updated successfully, but these errors were encountered:
Combine both lua and njs? There are many configuration which do that.But usually they do not interact.
One way for both lua and njs interact is to use nginx variables.
For example using js_var which create a writable nginx variable. You can write to it from lua and read from njs or vice versa. Not tested though.
Hi,
Is there any way to use Redis client within njs? I need to get/set entries on the Redis server. I know that there is a Lua Redis client, however, I cannot use the Lua module in my Nginx image.
The text was updated successfully, but these errors were encountered: