nginx防止攻擊

if ($http_x_forwarded_for ~ (58.221.166.179)) { return 404; } 將ip爲58.221.166.179 這個攻擊源 幹掉ip

相關文章
相關標籤/搜索