Skip to content

Instantly share code, notes, and snippets.

@svetlio
Last active August 12, 2018 09:35
Show Gist options
  • Save svetlio/9267362 to your computer and use it in GitHub Desktop.
Save svetlio/9267362 to your computer and use it in GitHub Desktop.
SA-CORE-2013-003 for nginx
# add on active server block
location ~* /(files|files-private|tmp)/.*\.php$ {
deny all;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment