亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

nginx ban ip problem
怪我咯
怪我咯 2017-05-16 17:27:58
0
2
866

May I ask all the experts, can nginx directly ban an IP for a period of time? The module ngx_http_limit_req_module seems to only be able to limit the frequency but cannot ban the IP for a period of time.

I didn’t know the IP before. This IP list is dynamic and cannot be written into the configuration file in advance):

怪我咯
怪我咯

走同樣的路,發(fā)現(xiàn)不同的人生

reply all(2)
為情所困

Reference here:
Nginx Block And Deny IP Address OR Network Subnets

If you want to dynamically modify this IP list, you only need to write a program to update the IP list file regularly.
After updating, check whether the configuration file is correct and reload nginx.

There is also a lua implementation method:
http://stackoverflow.com/questions/13917866/nginx-ip-whitelist

過去多啦不再A夢

deny 10.9.0.0/16;

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template