9 lines
162 B
Plaintext
9 lines
162 B
Plaintext
##
|
|
# Protect .git files and repositories
|
|
# If you use git versioning control on any of your sites, this rule is a must
|
|
##
|
|
|
|
location ~ /\.git {
|
|
return 418;
|
|
}
|