如何防止敏感文件访问
如何防止敏感文件访问?我网站被恶意扫描,攻击地址为http://www.999999999.com:80//ucenter/data/config.inc.php.bak,我在网上找的几个方法无效呢?
跪请大神指点
location ^~ /config/ {
deny all;
}

如何防止敏感文件访问?我网站被恶意扫描,攻击地址为http://www.999999999.com:80//ucenter/data/config.inc.php.bak,我在网上找的几个方法无效呢?
跪请大神指点
location ^~ /config/ {
deny all;
}
