Skip to content

Instantly share code, notes, and snippets.

@don-rumata
Created September 5, 2025 22:18
Show Gist options
  • Select an option

  • Save don-rumata/8e2c0a198277c6b572167c9051a4429e to your computer and use it in GitHub Desktop.

Select an option

Save don-rumata/8e2c0a198277c6b572167c9051a4429e to your computer and use it in GitHub Desktop.

Revisions

  1. don-rumata created this gist Sep 5, 2025.
    16 changes: 16 additions & 0 deletions nexus3-routing-rules.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    - name: GitHubReleases
    description: Download GitHub Releases. Download source code archives via Git SHA1 or tag.
    matchers:
    - /[^/]+/[^/]+/releases/download/[^/]+/.+
    - /[^/]+/[^/]+/archive/([0-9a-f]{40}|refs/tags/.+)\.(zip|tar\.gz)
    mode: ALLOW
    - name: GitHubAPI_ReleasesAndTags
    description: Allow and cache GitHub API requests for releases and git tags
    matchers:
    - /repos/[^/]+/[^/]+/releases
    - /repos/[^/]+/[^/]+/git/refs/tags
    mode: ALLOW

    # Thk:
    # https://sam.gleske.net/blog/engineering/2023/10/06/nexus-proxy-github-releases.html
    # Qwen