diff --git a/config/remote_generic/iplocate.yaml b/config/remote_generic/iplocate.yaml new file mode 100644 index 0000000..fb180be --- /dev/null +++ b/config/remote_generic/iplocate.yaml @@ -0,0 +1,10 @@ +base_url: https://media.githubusercontent.com +description: iplocate IP address databases (ip-to-asn / ip-to-country), served via GitHub LFS media +immutable_ttl: 0 +# The databases update on the main branch; re-check upstream daily (matches the +# ASN expander's cache cadence). +mutable_ttl: 86400 +mutable_patterns: + # LFS objects are served from media.githubusercontent.com/media////. + - "media/iplocate/ip-address-databases/.*/ip-to-asn/.*" + - "media/iplocate/ip-address-databases/.*/ip-to-country/.*"