943c3b7b3c
mirror.soroushasadi.com serves a leaf-only TLS chain (no intermediate). .NET on Linux does not auto-fetch the intermediate via AIA like Windows does, so CI/Docker restores fail with NU1301 PartialChain. Switch the Linux build configs (CI inline config + nuget.docker.config) to the Liara mirror, which serves a complete chain. Also disable NuGetAudit to avoid the api.nuget.org (filtered) 100s timeout + NU1900 noise. Local dev nuget.config keeps Nexus primary (Windows resolves the chain). Re-add Nexus to the Linux configs once nginx serves fullchain.pem. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
22 lines
825 B
XML
22 lines
825 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
NuGet source for the Docker image build (Linux .NET — runs `dotnet restore`
|
|
inside the SDK container). Uses the Liara mirror because it serves a complete
|
|
TLS chain. mirror.soroushasadi.com currently serves a leaf-only chain, which
|
|
.NET on Linux rejects with PartialChain (Windows auto-fetches the missing
|
|
intermediate via AIA; Linux does not). Re-add Nexus once nginx serves
|
|
fullchain.pem for mirror.soroushasadi.com.
|
|
-->
|
|
<configuration>
|
|
<packageSources>
|
|
<clear />
|
|
<add key="liara"
|
|
value="https://package-mirror.liara.ir/repository/nuget/index.json"
|
|
protocolVersion="3" />
|
|
</packageSources>
|
|
<config>
|
|
<add key="http_retry_count" value="8" />
|
|
<add key="http_retry_delay_milliseconds" value="1000" />
|
|
</config>
|
|
</configuration>
|