Created
March 12, 2017 18:10
-
-
Save shavit/f8defc56b598a0f2ca4ac5e6827298a3 to your computer and use it in GitHub Desktop.
Nginx configuration file for undefined requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Block access from IP | |
server { | |
listen 80 default; | |
server_name _; | |
ssl off; | |
# No response | |
return 444; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment