共计 340 个字符,预计需要花费 1 分钟才能阅读完成。
回想今年也是头一次遇到nginx攻击,虽然本站的halo博客采用的docker,系统性隔离,不过还是会被恶心到
这里有个狼灭的做法:
if ($request_uri ~* "(\.gz)|(\")|(\.tar)|(admin)|(\.zip)|(\.sql)|(\.asp)|(\.rar)|(function)|($_GET)|(eval)|(\?php)|(config)|(\')|(\.bak)") {
return 301 http://lg-dene.fdcservers.net/10GBtest.zip;
}
https://hostloc.com/thread-1044724-1-1.html
https://hostloc.com/thread-1044768-1-2.html
正文完