Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/mdaeo.org/usr/plugins/AMP/Action.php on line 388
nginx反向代理制作小偷站

Mdaeo'Blog

nginx反向代理制作小偷站

轻松使用VPS上的Nginx反向代理做小偷站使用Nginx的反向代理可以轻松山寨对方的网站。但是反向代理后的网站还是有对方的绝对链接着呢麽办,所以要用替换链接方法。1 使用官方的的模块 编译参数--with-http_sub_moduleub_filter 源网站链接 替换自己的链接;sub_filter_once off;只能匹配1行http://wiki.nginx.org/HttpSubModule2 使用第三方模块svn checkout http://substitutions4nginx.googlecode.com/svn/trunk/ substitutions4nginx-read-only编译参数--add-module=模块地址http://wiki.nginx.org/HttpSubsModule#Installation3 自己加广告等等代码可以sub_filter  '</head>'  '你的XXX代码</head>';sub_filter_once on;

 

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »

因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合AMP标准。