Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
server {
listen 80 default_server;
server_name_;
return 444;
}
instead of 444, you can use some kind of "bandwich limit"
PS options with listing domains (like colleagues in the answers) will backfire when adding subdomains and not only
if ($host !~* ^(domain.tld|www.domain.tld|abc.domain.tld)$ ) {
return 444;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question