Skip to content
New issue

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

module 'ngx.upstream' not found in openresty 1.13.6 #63

Open
PigPigAutumn opened this issue Jun 15, 2018 · 0 comments
Open

module 'ngx.upstream' not found in openresty 1.13.6 #63

PigPigAutumn opened this issue Jun 15, 2018 · 0 comments

Comments

@PigPigAutumn
Copy link

PigPigAutumn commented Jun 15, 2018

when I run the lua code like this:
stream{ preread_by_lua_block{ local upstream = require("ngx.upstream") ... } }
nginx throw the error: module 'ngx.upstream' not found

should I install the module upstream or is it a bug in openresty 1.13.3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant