全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
123
返回列表 发新帖
楼主: Kvm

dedecms免疫漏洞之nginx 【再次更新】

[复制链接]
发表于 2012-5-25 02:03:18 | 显示全部楼层
server {
server_name xxxx.info ;
rewrite ^(.*) http://www.xxxx.info$1 permanent;
}
rewrite /(include|data|images|templets|dede)/(.*)\.(pl|php|cgi|asp|aspx|py|jsp) http://cachefly.cachefly.net/100mb.test redirect;


k大,可是这样?
发表于 2012-5-25 02:07:19 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2012-5-25 02:22:57 | 显示全部楼层
亲,让你一语道破,我搜索一下。

server {
server_name xxxx.info ;
rewrite ^(.*) http://www.xxxx.info$1 permanent;
rewrite /(include|data|images|templets|dede)/(.*)\.(pl|php|cgi|asp|aspx|py|jsp) http://cachefly.cachefly.net/100mb.test redirect;
}
发表于 2012-5-25 08:44:08 | 显示全部楼层
技术帝
发表于 2012-5-25 08:37:16 | 显示全部楼层
(pl|php|cgi|asp|aspx|py|jsp),这里没必要全家后缀都用上吧。
发表于 2012-5-25 09:51:46 | 显示全部楼层
收藏中。。。
发表于 2012-5-25 11:10:56 | 显示全部楼层
牛啊。。
 楼主| 发表于 2012-5-25 12:52:08 | 显示全部楼层
过客 发表于 2012-5-25 08:37
(pl|php|cgi|asp|aspx|py|jsp),这里没必要全家后缀都用上吧。


nginx做反向的时候比较多    加上有益而无害
发表于 2012-5-28 21:52:48 | 显示全部楼层
再次马克备用
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-4-24 05:27 , Processed in 0.058185 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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