Open krysczajkowski opened 1 year ago
Yes it does work 100% are you trying to blacklist your own server IP?
I try to block my phone's IP just for a test. Maybe it is something wrong with my nginx.conf file, is the server block in the right place?
I try to block my phone's IP just for a test. Maybe it is something wrong with my nginx.conf file, is the server block in the right place?
Put the two includes at the VERY top of your server{} block before any location{} blocks
Blocking IP doesn't work. When I put my own IP in blacklist-ips.conf file I still can reach my website.
Copy of nginx.conf
Copy of vhost
Blacklist-ips.conf file: