chocolatey-community / simple-server

The Chocolatey Simple Server - https://community.chocolatey.org/packages/chocolatey.server
Apache License 2.0
44 stars 17 forks source link

NuGet API does not respect UseHostHeaderForRequestUrl - Unable to use a Proxied Url for any requests through that #44

Open gep13 opened 6 years ago

gep13 commented 6 years ago

Adding entry into host header settings in the web.config file isn't flowing through into the application, and the wrong url is being used for package URL's, etc.

ferventcoder commented 6 years ago

So heading to the http://proxyurl.com/chocolatey will show the NuGet api xml with the original url in it, and if you head to the packages page, they do the same.