Answer the question
In order to leave comments, you need to log in
How to block an IP range in Nginx?
Hello.
Here: https://nginx.org/ru/docs/http/ngx_http_access_mod... it says how to block an IP, as I understand it, you can do this:
location / {
deny 141.8.183.11;
}
location / {
deny 141.8.;
}
http {
deny 141.8.183.11;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question