Answer the question
In order to leave comments, you need to log in
Why doesn't deny always work in nginx?
I'm trying to block the data centers from which the left requests to the site come, but for some reason nginx sometimes skips ip addresses. For example:
IP 64.225.1.172 DigitalOcean I
registered in the configuration
server {
include /etc/nginx/snippets/deny-ds.conf;
...
location / {
...
}
include /etc/nginx/snippets/deny-ds.conf;
...
deny 64.225.0.0/20;
...
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