nginx禁止dedecms目录php执行权限

代码如下:
location ~* ^/(data|uploads|templets|special|html|erwe)/.*.(php|php5)$
{
deny all;
}

参与评论