最後活躍 1740389947

修訂 9a67ee7ecb7ff9f58c09dc2762ab4a7c82dfcd3f

mysrv.conf 原始檔案
1map $request_uri $reject {
2 "~[\s]*" 1;
3 "~(yandexbot)" 0;
4 "~(googlebot)" 0;
5 "~(Amazonbot).*" 1;
6 "~(SemrushBot).*" 1;
7 "~(meta-externalagent).*" 1;
8 "~(DataForSeoBot).*" 1;
9 "~(Screaming Frog SEO Spider).*" 1;
10 "~(GetRight).*" 1;
11 "~(GetWeb!).*" 1;
12 "~(Go!Zilla).*" 1;
13 "~(Download Demon).*" 1;
14 "~(Go-Ahead-Got-It).*" 1;
15 "~(TurnitinBot).*" 1;
16 "~(GrabNet).*" 1;
17 "~(dirbuster).*" 1;
18 "~(nikto).*" 1;
19 "~(SF).*" 1;
20 "~(sqlmap).*" 1;
21 "~(fimap).*" 1;
22 "~(nessus).*" 1;
23 "~(whatweb).*" 1;
24 "~(Openvas).*" 1;
25 "~(jbrofuzz).*" 1;
26 "~(libwhisker).*" 1;
27 "~(webshag).*" 1;
28 "~(Acunetix-Product).*" 1;
29 "~(Acunetix).*" 1;
30}
31#...
32
33server {
34 #...
35 if ($reject) { return 403; }
36 #...
37}