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

Why does the deny ip set in nginx not take effect?
漂亮男人
漂亮男人 2017-05-16 17:25:45
0
1
2216

I made sure I loaded the deny.ip file. I tried to ban my own IP, but I can still access the web server. Please solve it

There is only one line written in my deny.ip: deny IP address;

漂亮男人
漂亮男人

reply all(1)
Peter_Zhu

The best configuration is posted for analysis

allow deny is in order, if you

allow 192.168.1.0/24
# ...
deny 192.168.1.5

192.168.1.5is accessible

There is another possible situation. If your server is local, assume the IP is 192.168.1.5
Then you

deny 192.168.1.5

does not affect access via 127.0.0.1 These are two different network interfaces and vice versa

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