Update access rules to block all root '.' files

pull/1704/head
Celly 7 years ago committed by GitHub
parent f54a812ad5
commit 3f20981aab

@ -85,8 +85,8 @@ $HTTP["url"] =~ "^/admin/" {
} }
} }
# Block the github files from being accessible. # Block . files from being served, such as .git, .github, .gitignore
$HTTP["url"] =~ "^/admin/(.git|.gitignore|.github)" { $HTTP["url"] =~ "^/admin/\.(.*)" {
url.access-deny = ("") url.access-deny = ("")
} }

Loading…
Cancel
Save