全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 982|回复: 12
打印 上一主题 下一主题

replace-filter-nginx-module 安装方法

[复制链接]
跳转到指定楼层
1#
发表于 2012-12-31 21:21:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
1.编译安装regex
wget -c --no-check-certificate https://github.com/agentzh/sregex/tarball/master -O -|tar xz && mv -f agentzh-sregex* sregex
cd sregex/
make
make install
cd ../

2.重编译nginx

wget -c --no-check-certificate https://github.com/agentzh/replace-filter-nginx-module/tarball/master -O -|tar xz && mv -f agentzh-replace-filter-nginx-module* replace-filter-nginx-module
...
./configure --add-module=/path/to/replace-filter-nginx-module
...
2#
发表于 2012-12-31 21:22:38 | 只看该作者
3#
发表于 2012-12-31 21:25:17 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
4#
 楼主| 发表于 2012-12-31 21:26:11 | 只看该作者
单手摘月 发表于 2012-12-31 21:25
官網寫了= =

https://github.com/agentzh/sregex
5#
发表于 2012-12-31 21:29:01 | 只看该作者
  1. --no-check-certificate
复制代码
EVSSL白买了
6#
发表于 2012-12-31 21:29:09 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
7#
发表于 2012-12-31 21:32:39 | 只看该作者
看不懂
8#
发表于 2012-12-31 21:39:44 | 只看该作者
方法
9#
 楼主| 发表于 2012-12-31 21:43:54 | 只看该作者
单手摘月 发表于 2012-12-31 21:29
^             match the beginning of lines
$             match the end of lines

不止这样,还有好多功能还没开发
10#
发表于 2012-12-31 21:47:10 | 只看该作者
看起来好像不错啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-13 07:35 , Processed in 0.072006 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表