# Skip .git, .htpasswd etc
location ~ /\.(git|svn|ht) {
return 404;
}
Last active
January 13, 2018 03:05
-
-
Save hn-support/e73f88e9d0736c00be3fcd4042aeee17 to your computer and use it in GitHub Desktop.
block version control directory on nginx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment