Files
meezi/nuget.mirror.config
T
soroush.asadi d8e26c6fad fix(mirror): point NuGet source to nuget-group (was nuget-proxy which doesn't exist)
nuget-group aggregates nuget.org-proxy (Liara) and nuget-runflare-proxy
(Runflare) — automatic fallback if one upstream is down.

npm-proxy and docker-hub-proxy names match exactly, no changes needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 16:28:18 +03:30

18 lines
824 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- NuGet config for CI: routes all restores through the local Nexus mirror.
Usage: dotnet restore --configfile nuget.mirror.config
Nexus fetches from nuget.org on first request, then caches locally.
DO NOT use for local development (mirror must be running on the server). -->
<configuration>
<packageSources>
<clear />
<!-- nuget-group aggregates nuget.org-proxy (Liara) + nuget-runflare-proxy (Runflare).
If Liara is down, Nexus automatically falls back to Runflare. -->
<add key="nexus-nuget" value="http://mirror:8081/repository/nuget-group/index.json" protocolVersion="3" />
</packageSources>
<config>
<add key="http_retry_count" value="8" />
<add key="http_retry_delay_milliseconds" value="1000" />
</config>
</configuration>