Skip to content

Commit ea9de14

Browse files
committed
Merge pull request #7 from NuGet/feature/2951
Default to using the host header for request urls
2 parents 0dfb2fd + c2b2344 commit ea9de14

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/NuGet.Server/Web.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@
5050
Set enableFrameworkFiltering to true to enable filtering packages by their supported frameworks during search.
5151
-->
5252
<add key="enableFrameworkFiltering" value="false" />
53+
54+
<!--
55+
When running NuGet.Server in a NAT network, ASP.NET may embed the erver's internal IP address in the V2 feed.
56+
Uncomment the following configuration entry to enable NAT support.
57+
-->
58+
<!-- <add key="aspnet:UseHostHeaderForRequestUrl" value="true" /> -->
5359
</appSettings>
5460
<system.web>
5561
<httpRuntime maxRequestLength="31457280" />

0 commit comments

Comments
 (0)