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

Nginx and Lua

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

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

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