简体   繁体   English

Lua和C中的NGINX模块

[英]NGINX modules in Lua and C

Is it possible to build and deploy modules in C or Lua for NGINX with the free version of NGINX? 可以使用NGINX的免费版本在C或Lua中为NGINX构建和部署模块吗? Or must you have a license for NGINX PRO? 还是您必须拥有NGINX PRO的许可证?

It's certainly possible. 当然有可能。 Moreover, Lua module is not a part of original nginx but it's still built and distributed in all major linux distros. 而且,Lua模块不是原始nginx的一部分,但仍在所有主要的Linux发行版中构建和分发。

http://nginx.org/LICENSE http://nginx.org/LICENSE

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:... 再分配和在源和二进制形式使用或没有修改,都允许提供的满足以下条件:...

It's of course possible and here is the famous example - https://openresty.org 当然有可能,这是著名的示例-https://openresty.org

OpenResty bundle is based on free open source nginx version and includes a lot of C and Lua modules. OpenResty软件包基于免费的开源nginx版本,并包含许多C和Lua模块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM