排除"位置"中的特定文件规则

时间:2016-02-02 22:27:03

标签: nginx webserver debian

我"安全"通过在/ wp-content /&#34中找到.php文件来安装我的Wordpress;找不到"

location ~ ^/wp-content/.+\.php$ {
      return 404;
   }

如何排除此规则中的特定文件/目录并使其再次可执行?

0 个答案:

没有答案
相关问题