V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
liuyinltemp
V2EX  ›  NGINX

请教一下 subs_filter_module 使用方法

  •  
  •   liuyinltemp · 2017-05-22 09:42:16 +08:00 · 2239 次点击
    这是一个创建于 2503 天前的主题,其中的信息可能已经有所发展或是发生改变。
    各位大牛,本人小白,不是 IT 从业,vps 反向代理了一个 网站,但是想屏蔽网站的 广告,已经安装 subs_filter_module,有 adbyby 的规则,例如 div[id="ad_text"][class="ad_text"]怎么写代码屏蔽,最好是 div[id^="ad_"]这种,请教怎么改配置?
    2 条回复    2017-06-12 09:56:02 +08:00
    liuyinltemp
        1
    liuyinltemp  
    OP
       2017-05-24 08:50:09 +08:00
    adbyby 规则搞了半天可以了,但是正册不会写,泪奔
    liuyinltemp
        2
    liuyinltemp  
    OP
       2017-06-12 09:56:01 +08:00
    搞了半天直接过滤 js 就去掉广告,泪奔
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2815 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 14:56 · PVG 22:56 · LAX 07:56 · JFK 10:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.