Last active
August 27, 2021 01:57
-
-
Save alexphelps/5060db6aec4d7b59bee695c4668b8727 to your computer and use it in GitHub Desktop.
Nginx Block File Scanners
This file contains hidden or 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
server { | |
# ... | |
location ~ \.(asp|aspx|axd|asx|asmx|ashx|cfm|jsp|jspx|do|action|pl|php|php3|php4|phtml|py|rb|rhtml|ini|stm|net|env|cgi|dll|fcgi|conf)$ { | |
return 410; | |
} | |
# ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment