Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3). Masyunis customizations are re-applied in the following commits.
19 lines
375 B
JSON
19 lines
375 B
JSON
{
|
|
"bots": [
|
|
{
|
|
"name": "allow-git-clients",
|
|
"action": "ALLOW",
|
|
"expression": {
|
|
"all": [
|
|
"userAgent.startsWith(\"git/\") || userAgent.contains(\"libgit\")",
|
|
"\"Git-Protocol\" in headers && headers[\"Git-Protocol\"] == \"version=2\""
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bind": ":9090",
|
|
"network": "tcp"
|
|
}
|
|
}
|