Proxy iplocate IP databases via the existing github remote
Add patterns to the github.com generic remote for the iplocate ip-to-asn / ip-to-country databases rather than standing up a new remote. The files are Git-LFS, so the /raw/ path redirects to media.githubusercontent.com; the github remote already follows github's cross-host redirects (as it does for release assets), and the raw path returns the real bytes (verified: 12MB zip / 78MB mmdb). Marked mutable (branch content).
This commit is contained in:
@@ -5,6 +5,9 @@ mutable_ttl: 7200
|
|||||||
mutable_patterns:
|
mutable_patterns:
|
||||||
- ".*/archive/refs/heads/.*.tar.gz$"
|
- ".*/archive/refs/heads/.*.tar.gz$"
|
||||||
- "stalwartlabs/webadmin/releases/latest/download/webadmin.zip$"
|
- "stalwartlabs/webadmin/releases/latest/download/webadmin.zip$"
|
||||||
|
# iplocate IP databases (Git-LFS; the /raw/ path redirects to the LFS media host).
|
||||||
|
- "iplocate/ip-address-databases/raw/.*/ip-to-asn/.*"
|
||||||
|
- "iplocate/ip-address-databases/raw/.*/ip-to-country/.*"
|
||||||
patterns:
|
patterns:
|
||||||
- ".*/archive/refs/tags/.*.tar.gz$"
|
- ".*/archive/refs/tags/.*.tar.gz$"
|
||||||
- "ahmetb/kubectx/.*/kubectx_.*_linux_x86_64.tar.gz$"
|
- "ahmetb/kubectx/.*/kubectx_.*_linux_x86_64.tar.gz$"
|
||||||
|
|||||||
Reference in New Issue
Block a user