Hacker GitHub

← All repos

openresty/lua-nginx-module

View on GitHub ↗ ★ 11,785 C

Embed the Power of Lua into NGINX HTTP servers

29 mentions on Hacker News by 26 people: 0 stories, 29 comments · first 2010-08-17 · latest 2024-03-19

Mentions per year 29 mentions · busiest year 2011 (4)
20082026
  1. …https://create.roblox.com/docs/tutorials/scripting/basic-scr... - make a mini game in Roblox https://github.com/openresty/lua-nginx-module?tab=readme-ov-... - configure and extend NGINX https://wezfurlong.org/wezterm/config/lua/general.html…
  2. …in C. - JavaScript: https://nginx.org/en/docs/njs/ and https://github.com/nginx/njs-examples - Lua: https://github.com/openresty/lua-nginx-module - Rust: https://github.com/nginxinc/ngx-rust
    comment by michaelplshkv · 2023-08-16 · in Nginx Development Guide
  3. …CSS. They do use OpenResty[1], too, which is NGINX + Lua. Good stuff. [1] https://openresty.org/ , https://github.com/openresty/lua-nginx-module
    comment by johnisgood · 2023-01-17 · in The FBI Identified a Tor User
  4. …holds final result. # From: # - https://gist.github.com/morhekil/1ff0e902ed4de2adcb7a # - https://github.com/openresty/lua-nginx-module/ body_filter_by_lua_block { local max_len = 256 local resp_body = (ngx.ctx.resp_body or "") if…
  5. …the necessary code [1]. In some high volume scenarios, this can cause trouble on the backend. [1] https://github.com/openresty/lua-nginx-module/pull/1312
  6. …and now we also ignore any "Secure" cookies that don't appear to have been set by our servers. [1]: https://github.com/openresty/lua-nginx-module/pull/1654 [2]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Se...
    comment by tcbyrd · 2021-04-06 · in Breaking GitHub Private Pages for $35k
  7. …if you are writing C++ extension you can use Network::ReadFilter, Network::ConnectionCallbacks. [1] https://github.com/openresty/lua-nginx-module#ssl_certificat... [2] https://github.com/openresty/lua-resty-core/blob/master/lib/...
    comment by SaveTheRbtz · 2020-07-30 · in Migrating Dropbox from Nginx to Envoy
  8. …group up to almost a million req/s before it started to break down (median resp time > 100ms). [1] https://github.com/openresty/lua-nginx-module
    comment by VWWHFSfQ · 2020-06-30 · in Learn Lua in 15 Minutes (2013)
  9. …LuaJIT that increases the limit. It comes pre-applied with the LuaJIT that installs with openresty. https://github.com/openresty/lua-nginx-module/issues/1019
  10. Could someone explain to me why would I choose this over https://github.com/openresty/lua-nginx-module ? It supports LuaJIT and while I suppose it is possible to write faster C code by hand than JIT translated Lua it'd be hard and I'd fear…
    comment by chx · 2018-10-14 · in Nginx C function
  11. Take a look at OpenResty, which is nginx scriptable with lua. https://openresty.org/en/ https://github.com/openresty/lua-nginx-module#access_by_lua
    comment by sciurus · 2018-10-02 · in Using HAProxy as an API Gateway, Part 1
  12. …OpenResty[3] framework. [1] http://luajit.org/ext_ffi.html [2] https://github.com/Mashape/kong [3] https://github.com/openresty/lua-nginx-module
  13. …are projects like the one I'm working on [3] that implement dynamic proxies using OpenResty. [1]: https://github.com/openresty/lua-nginx-module [2]: https://github.com/openresty/lua-nginx-module#balancer_by_lu... [3]:…
    comment by _mikz · 2017-04-12 · in Nginx 1.12.0 stable
  14. …module[1] - IIRC that feature was developed by Cloudflare, to power their SSL termination. [1]: https://github.com/openresty/lua-nginx-module/#ssl_certifica...
  15. …allow you to just write some lua straight into the config without having to escape the lua code: https://github.com/openresty/lua-nginx-module#synopsis A more comprehensive guide: https://openresty.org/download/agentzh-nginx-tutorials-en.ht…
    comment by susi22 · 2016-01-25 · in Definitely an OpenResty guide
  16. You can do the same on Nginx with https://github.com/openresty/lua-nginx-module (and much more)
  17. You can use https://github.com/openresty/lua-nginx-module#ngxlocationcap... to do multiple parallel requests
  18. If there is a Lua library for it, it'd be possible with the Nginx Lua module [1] [1]: https://github.com/chaoslawful/lua-nginx-module
  19. …comment. They are paying him. He has said that someone could sponsor him to do it in his own time https://github.com/chaoslawful/lua-nginx-module/issues/165
    comment by justincormack · 2013-08-24 · in Compiling to Lua
  20. …all of them no matter which JSON library used, end of story. BTW, LuaRocks is supported [2] [1] https://github.com/chaoslawful/lua-nginx-module [2] http://openresty.org/#UsingLuaRocks
    comment by snaky · 2013-04-06 · in Web Framework Benchmarks Round 2
  21. …continue to grow and solve some of its shortcomings like unicode support and pattern matching. [1] https://github.com/chaoslawful/lua-nginx-module
    comment by peterfschaadt · 2013-03-09 · in Lua: Good, bad, and ugly parts
  22. …robust embedded scripting support in nginx, Yichun Zhang's lua-nginx-module is highly recomended. https://github.com/chaoslawful/lua-nginx-module
    comment by mef · 2012-07-07 · in Nginx design details
  23. …is the Lua Nginx module which is also async with coroutines, but using nginx to provide all the IO. https://github.com/chaoslawful/lua-nginx-module
    comment by justincormack · 2012-02-01 · in Why Lua?
  24. This is just an initial spike. The conversation started here: https://github.com/chaoslawful/lua-nginx-module/issues/35 .
  25. Interesting, also it worth mentioning ngx_lua https://github.com/chaoslawful/lua-nginx-module It's like a swiss army knife for nginx.
  26. Came across this the other day: Embed the Power of Lua into NginX https://github.com/chaoslawful/lua-nginx-module
    comment by DTrejo · 2011-04-04 · in Raphters, a web framework for C
  27. …So obviously lua-nginx-module is a good candidate for implementing extensive concurrent services." https://github.com/chaoslawful/lua-nginx-module/wiki/Introdu... The ability to do async-IO without changing code flow is a big plus.
  28. …of Lua/Luajit in nginx if you want to embed into a web server environment (without callbacks). https://github.com/chaoslawful/lua-nginx-module
    comment by justincormack · 2011-03-07 · in Is NodeJS Wrong?
  29. ngx_lua is production ready [1]. [1] http://github.com/chaoslawful/lua-nginx-module/commit/26d9dc...
    comment by piotrSikora · 2010-08-17 · in Tell HN: Have a look at Varnish