4 ms·
Can you recommend a public repo which demonstrates use of the HttpLuaModule? [Edited to add:] Another comment mentions the Lapis framework which gives [me] a go
by moens 13y ago
Can you recommend a public repo which demonstrates use of the HttpLuaModule? [Edited to add:] Another comment mentions the Lapis framework which gives [me] a good starting point.
@subs: thanks!
- justincormack 13y agoThere is a presentation here that goes through the basics. http://www.londonlua.org/scripting_nginx_with_lua/index.html http://www.londonlua.org/scripting_nginx_with_lua/index.html
- iamlacroix 13y agoYou can also check out a simple example[1] used for the TechEmpower Benchmarks[2]. [1]: https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/openresty https://github.com/TechEmpower/FrameworkBenchmarks/tree/mast... [2]: http://www.techempower.com/benchmarks/ http://www.techempower.com/benchmarks/
- chanux 13y agoHope this will help you http://blog.cloudflare.com/pushing-nginx-to-its-limit-with-lua http://blog.cloudflare.com/pushing-nginx-to-its-limit-with-l... This helped me setting up nginx/lua/redis setup on Ubuntu https://github.com/ehazlett/nginx-rt-log/blob/master/readme.md https://github.com/ehazlett/nginx-rt-log/blob/master/readme....