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

Is lua_package_path still required ? #11

Open
asafyish opened this issue Jan 17, 2016 · 0 comments
Open

Is lua_package_path still required ? #11

asafyish opened this issue Jan 17, 2016 · 0 comments

Comments

@asafyish
Copy link

Hi,

I see in https://github.com/openresty/lua-resty-core that lua_package_path is not longer required:

    # nginx.conf

    http {
        # you do NOT need to configure the following line when you
        # are using the ngx_openresty bundle 1.4.3.9+.
        lua_package_path "/path/to/lua-resty-core/lib/?.lua;;";

        init_by_lua '
            require "resty.core"
        ';

        ...
    }

Is that the case or am I missing something ?

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