Skip to content

Instantly share code, notes, and snippets.

@don-rumata
Created September 5, 2025 22:18
Show Gist options
  • Save don-rumata/8e2c0a198277c6b572167c9051a4429e to your computer and use it in GitHub Desktop.
Save don-rumata/8e2c0a198277c6b572167c9051a4429e to your computer and use it in GitHub Desktop.
Nexus3 routing rules 4 github releases and api.github.com
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment