服务器环境Nginx ,网站已经配置了伪静态环境下、程序类型PHP, 网站被H客挂了一堆垃圾页面;
示例: 请问如何写规则,将下面这种页面,当用户访问直接返回404页面,请大佬赐教,必有重谢!
http://www.XXXX.com/index.php?av=158119174.shtml
http://www.XXXXX.com/index.php?H40BBQfH.txt
http://www.XXXX.com/index.php?se1ZQg.shtml
http://www.XXXX.com/index.php?av=158119174.shtml
http://www.XXXX.com/index.php?m=content&c=index&a=show&catid=8&id=1951344759.shtml
http://www.xxxxx.com/index.php?se20201218034135.docx
http://www.xxxxx.com/index.php?app20201212094149.csv
示例: 请问如何写规则,将下面这种页面,当用户访问直接返回404页面,请大佬赐教,必有重谢!
http://www.XXXX.com/index.php?av=158119174.shtml
http://www.XXXXX.com/index.php?H40BBQfH.txt
http://www.XXXX.com/index.php?se1ZQg.shtml
http://www.XXXX.com/index.php?av=158119174.shtml
http://www.XXXX.com/index.php?m=content&c=index&a=show&catid=8&id=1951344759.shtml
http://www.xxxxx.com/index.php?se20201218034135.docx
http://www.xxxxx.com/index.php?app20201212094149.csv