配置要求 /install开头的目录禁止访问 /var开头的目录禁止访问 /usr/plugins开头的目录禁止访问 /usr/themes/目录下的.php后缀文件禁止访问 config.inc.php文件禁止访问 install.php文件禁止访问 配置文件 location ~* ^/(install/|var/|usr/plugins/|usr/themes/.*\.(php)$|config.inc.php|install.php){ deny all; } 最后修改:2023 年 12 月 30 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏