OpenResty 發佈,Web 應用服務器


OpenResty (也稱為 ngx_openresty)是一個全功能的 Web 應用服務器。它打包了標準的 Nginx 核心,很多的常用的第三方模塊,以及它們的大多數依賴項。

通過眾多進行良好設計的 Nginx 模塊,OpenResty 有效地把 Nginx 服務器轉變為一個強大的 Web 應用服務器,基於它開發人員可以使用 Lua 編程語言對 Nginx 核心以及現有的各種 Nginx C 模塊進行腳本編程,構建出可以處理一萬以上並發請求的極端高性能的 Web 應用。

OpenResty 已發佈,Version 部分更新內容如下:

  • feature: applied a patch to the nginx core to make the nginx variable $proxy_add_x_forwarded_for accessible on Lua land. thanks spacewander for the patch.
  • feature: added the balancer-status-code patch to the nginx core to allow returning arbitrary HTTP status codes inside upstream balancers. thanks Datong Sun for the patch.
  • feature: we now search LuaJIT bytecode files *.ljbc before Lua source files *.lua in the default Lua module search paths.
  • feature: applied the intercept-error-log patch to the nginx core to provide 3rd-party modules a hook to intercept nginx error log data without touching files. 3rd-party modules can register a custom interception hook to ngx_http_core_main_conf_t.intercept_log_handler. thanks Yuansheng Wang for the patch.
  • feature: ./configure: the user flags specified by the --with-luajit-xcflags=FLAGSoption are not appended to the default flags instead of being prepended. thanks spacewander for the report.
  • feature: applied a small patch to the nginx core to add support for the “privileged agent” process which is run by the same system account as the master. thanks Yuansheng Wang for the patch.


轉載請註明:文章轉載自 開源中國社區 []
本文標題:OpenResty 發佈,Web 應用服務器