nginx服务器access日志中大量400 bad request错误的解决方法
在access.log中有大量400错误,并以每天几百M的速度增加,占用大量空间.
tail-f/opt/nginx/logs/access.log
116.236.228.180--[15/Dec/2010:11:00:15+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:15+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:15+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:15+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:15+0800]"-"4000"-""-" 119.97.196.7--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 119.97.196.7--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 219.243.95.197--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:16+0800]"-"4000"-""-" 116.236.228.180--[15/Dec/2010:11:00:16+0800]"-"4000"-""-"