-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
[FEAT] add lua support #500
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
@aptalca
root@6785fb4cc8f8:/# apk info -vv | grep nginx-mod-http-lua root@d62e9aad05f0:/# cat /mod-repo-packages-to-install.list try manually paste the relevant script from the repo to so what it does....
its there now.. lets reboot and see what happens .
nope, still nothing..
ok.. manual install time...
root@d62e9aad05f0:/# apk list nginx-mod-http-lua restart container again..
^ lua_need_request_body in my config is now recognised and server starts fine now. wipe cache layers and rebuild again and problem is back:
try this time with still no dice
the log lines here are a bit suspicious, because i had never used mods before:
here's the docker run command, maybe there's something special here breaking it?
|
You're on a super old image. SWAG is on alpine 3.20, your image is on 3.14, that's a 3 year difference at a minimum. Pull the latest image first. |
You might also need additional lua packages to support it, such as these |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
closing as no response from OP since august |
This issue is locked due to inactivity |
Is this a new feature request?
Wanted change
lua is good for writing custom logic in the webservers
Reason for change
I've tried putting /usr/lib/nginx/modules/ngx_http_lua_module.so
but that doesn't work. I'm assuming the modules are not setup to auto load and need to recompile nginx.
so.. currently I need to run
apk update && apk add nginx-mod-http-lua every time the container is built, which is a bit annoying when it needs to update.
I understand I can add it to the RUN command, but that would replace the intented command in the Dockerfile
Proposed code change
just simply
apk add nginx-mod-http-lua
Thanks :)
The text was updated successfully, but these errors were encountered: