nginx防止攻击

if ($http_x_forwarded_for ~ (58.221.166.179)) { return 404; } 将ip为58.221.166.179 这个攻击源 干掉ip

相关文章
相关标签/搜索