Skip to content

Instantly share code, notes, and snippets.

@kevinlisota
Created April 16, 2018 04:29
nginx catch-all server block
# Catch-all server block, resulting in a 444 response for unknown domains.
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 444;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment