Skip to content

Instantly share code, notes, and snippets.

@marvell
Created February 6, 2014 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save marvell/b344ab8075f28f006d51 to your computer and use it in GitHub Desktop.
Save marvell/b344ab8075f28f006d51 to your computer and use it in GitHub Desktop.
Bitrix: nginx simple security configuration file
# Block access to .htaccess files
location ~ (.*)/\.htaccess/(.*)$ {
deny all;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment