Skip to content

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

@PigPigAutumn

Description

@PigPigAutumn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions