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

add nginx-lua #468

Open
aogg opened this issue Dec 2, 2022 · 1 comment
Open

add nginx-lua #468

aogg opened this issue Dec 2, 2022 · 1 comment

Comments

@aogg
Copy link

aogg commented Dec 2, 2022

No description provided.

@rltas
Copy link

rltas commented Sep 25, 2023

Would be easy if you could just install the module, but the config doesn't read snippets from the modules dir, so you have to do something like this on alpine:

RUN apk add --no-cache nginx-mod-http-lua \
    && sed -i '5i \
    load_module /usr/lib/nginx/modules/ndk_http_module.so; \
    load_module /usr/lib/nginx/modules/ngx_http_lua_module.so; \
    pcre_jit on; \
    ' /opt/docker/etc/nginx/nginx.conf

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

2 participants