mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-10 02:28:45 +00:00
7 lines
313 B
YAML
7 lines
313 B
YAML
- name: allow-git-clients
|
|
action: ALLOW
|
|
expression:
|
|
and:
|
|
- userAgent.startsWith("git/") || userAgent.contains("libgit") || userAgent.startsWith("go-git") || userAgent.startsWith("JGit/") || userAgent.startsWith("JGit-")
|
|
- >
|
|
"Git-Protocol" in headers && headers["Git-Protocol"] == "version=2" |