linux nginx 指定目录不可执行php文件

location ~* ^/(uploadfile|phpsso/uploadfile)/.*\.(php|php5)$ {
    deny all;
  }

猜你喜欢

转载自my.oschina.net/u/659587/blog/1626970