› NGINX
› NGINX Trac
› 3rd Party Modules
› Security Advisories
› CHANGES
› OpenResty
› ngx_lua
› Tengine
在线学习资源
› NGINX 开发从入门到精通
NGINX Modules
› ngx_echo
Livid
403.84D
566.55D
V2EX  ›  NGINX

Nginx and Lua

  •  
  •   Livid ·
    PRO
    · Feb 27, 2014 · 4853 views
    This topic created in 4634 days ago, the information mentioned may be changed or developed.
    8 replies  •  1970-01-01 08:00:00 +08:00
    clino
    clino
    Feb 27, 2014
    1
    这两东西扯到一起我就会想到是不是在说openresty
    terrytowne
    terrytowne
    Feb 27, 2014
    3
    @clino 哈哈,想一块儿了^ ^
    Livid
    Livid
    MOD
    OP
    PRO
    Feb 27, 2014
    4
    OpenResty 是一个集合了众多插件的 bundle,或者说发行版。

    我转发的链接,是关于 ngx_lua 这个模块的一些具体用法。
    missdeer
    missdeer
    Feb 28, 2014
    5
    总觉得把业务逻辑写在.conf里怪怪的
    chilaoqi
    chilaoqi
    Feb 28, 2014
    6
    我想说,上次搞Nignx + Lua实现 Oauth support 要吐了
    cctvsmg
    cctvsmg
    Feb 28, 2014
    7
    @chilaoqi 握手,尤其是https,最后还在个鸟不拉屎的网站上,找了一个靠nginx的proxy的实现方法
    xia0ta0
    xia0ta0
    Mar 1, 2014
    8
    ngx_lua模块偏向底层,代码写起来繁琐,不过并发性能很好。其实我觉得ngx_lua需要一些成熟的框架,而不仅仅是库。

    @missdeer 可以使用 content_by_lua 把代码写到其他文件。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1268 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 20:04 · PVG 04:04 · LAX 12:04 · JFK 15:04
    ♥ Do have faith in what you're doing.