It's maybe deprecated by the official Nginx support, but there are other projects and organizations that are offering Lua scripting with Nginx with all kinds of extensions and libraries. See OpenResty website[0] and Github repo[1]. [0] - https://openresty.org/en/. - Source: Hacker News / 8 days ago
Have you seen https://openresty.org/en/ before? To share a quote directly taken from their website: > By taking advantage of various well-designed Nginx modules (most of which are developed by the OpenResty team themselves), OpenResty® effectively turns the nginx server into a powerful web app server, in which the web developers can use the Lua programming language to script various existing nginx C modules and... - Source: Hacker News / 9 days ago
Nginx is quite extendable, there are tons of nginx plugins to help you add more customizations. There is OpenResty, a version of nginx [0]. It allows you to script all sorts of stuff with Lua inside nginx itself. Tools like lockbox are not necessary, nginx, caddy, etc or heck even a normal 70 line python3 fastapi based script works just fine and should be more extendable than lockbox. [0](https://openresty.org/en/). - Source: Hacker News / 3 months ago
APISIX is an API Gateway. It builds upon OpenResty, a Lua layer built on top of the famous nginx reverse-proxy. APISIX adds abstractions to the mix, e.g., Route, Service, Upstream, and offers a plugin-based architecture. - Source: dev.to / 4 months ago
Apache APISIX is an API Gateway, which builds upon the OpenResty reverse-proxy to offer a plugin-based architecture. The main benefit of such an architecture is that it brings structure to the configuration of routes. It's a help at scale, when managing hundreds or thousands of routes. - Source: dev.to / 5 months ago
There are no dependencies so this algorithm can run client-side or server-side, and the image takes less than a millisecond to generate while compressing down to about 2 KB. For the production server, I ended up using OpenResty (an extension of Nginx) with Lua but the process is the same. - Source: dev.to / 6 months ago
Mentioning Openresty[1] (nginx + Lua + LuaJIT) is a must. I have been running production code with Openresty for the last 15 years. Smooth sail. [1] https://openresty.org/en/. - Source: Hacker News / 11 months ago
I guess if you're starting something from scratch today you'd be better off using https://openresty.org/en/ (based on nginx and Lua) than TCL on this? - Source: Hacker News / about 1 year ago
OpenResty, a platform that allows scripting NGINX with the Lua programming language via LuaJIT. - Source: dev.to / over 1 year ago
We want the client to read the YAML file regularly. For this, we can leverage the power of the Lua Nginx module. It's part of OpenResty, which Apache APISIX is built upon. The module offers additional APIs, and two of them are particularly useful:. - Source: dev.to / almost 2 years ago
I got info just yesterday about this and KeyCloak was suggested. https://www.keycloak.org/ - it should work with nginx. And/or with https://openresty.org/en/ instead of nginx - openresty is, as far as I understood, similiar to nginx plus, so more features and still free. Source: almost 2 years ago
The main open-source fork is the fetchingly-named OpenResty. Source: almost 2 years ago
Kong gateway can be an excellent solution for an Ingress load balancer and API gateway if you do not want vendor lock-in of any Cloud API Gateways in your application. Kong uses OpenResty and Lua. OpenResty extends Nginx with Lua scripting to use Nginx's event model for non-blocking I/O with HTTP Clients and remote backends like PostgreSQL, Memcached, and Redis. OpenResty Is not an Nginx fork, and Kong is not an... - Source: dev.to / about 2 years ago
> Also, have you ever tried compiling ngx yourself (they don't include Lua modules support There's always OpenResty[1] which is a kind of "batteries included" version of nginx - I use it in preference to nginx these days because I do a lot of experiments with, e.g., the Lua, Redis, Postgres support OR has. [1] https://openresty.org/en/. - Source: Hacker News / about 2 years ago
APISIX is supported by two significant architectures, X86 and ARM64. It also supports OpenResty and Tengine run environments & runs on bare metal to various servers in public clouds. - Source: dev.to / about 2 years ago
It allows for Lua plugins out of the box for years now. Check https://openresty.org/en/ out. Source: about 2 years ago
I'd like to also mention that it can be embedded into nginx configuration, and that can be used to to put a little bit of adhoc code into your nginx webserver. You can take a look at openresty as well. Source: about 2 years ago
Hammerspoon is fantastic. And Lua is a such a fun little language to program in. And with LuaJIT [0] you can run it on your nginx webserver [1] at basically the speed of C code. It's really a marvel of engineering. [0] https://luajit.org/ [1] https://openresty.org/en/. - Source: Hacker News / over 2 years ago
Although haproxy and nginx cover (for me) almost all use-cases I had to deal with (with OpenResty [1] as a backup), I see one place where ATS could shine: plugins. From examples [2], C API looks sane and well documented, and this is very important if you want to add some custom stuff inside your proxy server without losing your hair. And no, lua isn't the solution here ;) Those who had to deal with nginx plugins,... - Source: Hacker News / over 2 years ago
OpenResty [1] is a good mix of these concepts. It serves requests through nginx (which is at its core just a lightweight event loop) and then serves pages through LuaJIT. If you need more speed you could always write an nginx module in C (or in some other language viz the C ABI). [1]: https://openresty.org/en/. - Source: Hacker News / over 2 years ago
I've been long interested in HAProxy, but I can't seem to sell myself on it. When might I choose HAProxy that OpenResty[1] would not be sufficient or better? [1]: https://openresty.org/en/. - Source: Hacker News / almost 3 years ago
Do you know an article comparing OpenResty to other products?
Suggest a link to a post with product alternatives.
This is an informative page about OpenResty. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.