We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a content_by_lua block which execute when below location run.
location / { content_by_lua ' local client = require "readuser" client.ReadUser(); '; }
I want to do load balancing between multiple servers so that all servers run same lua block. I thought i did this by
http { upstream read { server one; server two; server three; } } server { location / { proxy_pass http://read content_by_lua ' local client = require "readuser" client.ReadUser(); '; } }
but it did not work. How can I achieved this with lua block?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a content_by_lua block which execute when below location run.
I want to do load balancing between multiple servers so that all servers run same lua block. I thought i did this by
but it did not work. How can I achieved this with lua block?
The text was updated successfully, but these errors were encountered: