Skip to content

Instantly share code, notes, and snippets.

@skycocker
Created August 10, 2018 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skycocker/79f5d6e4ca82805884e462a328e5d771 to your computer and use it in GitHub Desktop.
Save skycocker/79f5d6e4ca82805884e462a328e5d771 to your computer and use it in GitHub Desktop.
Fixed version of the default nginx/apache-noscript.conf file, considering you might have something else than simply a filename in the matching string
[Definition]
failregex = ^<HOST> -.*GET(?!.*\?.*\=) .*(\.php|\.asp|\.exe|\.pl|\.cgi|\.scgi)
ignoreregex =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment