会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
专注Oracle EBS
生命不息,奋斗不止
管理
2010年8月31日
Nginx禁止访问某个目录
摘要: location = /path/ { return 404; }这样只能禁止访问 http://www.a.com/path/不能禁止访问 http://www.a.com/path/test.php这样就搞定了location ^~ /test { deny all; }可能test要换成path.
阅读全文
posted @ 2010-08-31 09:13 郭振斌
阅读(5277)
评论(1)
推荐(0)
编辑
公告