Skip to content

Instantly share code, notes, and snippets.

@und3f
Created December 12, 2011 15:46
Show Gist options
  • Save und3f/1467953 to your computer and use it in GitHub Desktop.
Save und3f/1467953 to your computer and use it in GitHub Desktop.
Nginx configuration to deny unknown hosts
server {
listen 80 default_server;
return 444;
}
@smartpierre
Copy link

Perfect !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment