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

nginx 添加模块后能删除吗

  •  
  •   sahrechiiz · Apr 16, 2017 · 4603 views
    This topic created in 3344 days ago, the information mentioned may be changed or developed.

    git clone 了 sub _ filter 到 /root 然后加入模块编译了 nginx 这时候能把 /root 里的删了吗… 我删了 之后配置 filter 似乎没起效果…

    4 replies    2017-04-17 09:51:33 +08:00
    Marfal
        1
    Marfal  
       Apr 16, 2017 via Android   ❤️ 1
    可以
    halfcoder
        2
    halfcoder  
       Apr 16, 2017   ❤️ 1
    你是把 sub_filter 模块 git clone 下来,编译到 nginx 中,然后删了 git clone 下来的源代码?
    这样应该对已经编译的 nginx 中的模块没有影响。
    没起效果应该还是你的配置问题。
    skyleft
        3
    skyleft  
       Apr 16, 2017   ❤️ 1
    可以 模块已经被编译链接进 nginx 可执行文件了
    guoxu1231
        4
    guoxu1231  
       Apr 17, 2017 via iPhone
    @skyleft 静态链接? 那不是不可以吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5446 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 03:31 · PVG 11:31 · LAX 20:31 · JFK 23:31
    ♥ Do have faith in what you're doing.