Nuget Server返回403和404 [英] Nuget Server returning 403's and 404's
问题描述
我正尝试在以下主机上托管nuget 我的Amazon EC2 VPS,但出现问题.
I'm trying to host nuget on my Amazon EC2 VPS, and I'm having issues.
- 我已按照此处的说明进行操作(托管您自己的NuGet Feeds )
- 我已阅读此线程( NuGet:远程服务器返回错误( 403)禁止).
- I've followed the instructions here ( Hosting your own NuGet Feeds )
- I've read this thread ( NuGet: remote server returned an Error(403) Forbidden ) along the same lines.
- 我没有运行TFS
- 可能"是代理问题,但我不确定如何检查.
我的NuGet提要位于 http://nuget.infinitas.ws .您会注意到, http://nuget.infinitas.ws/nuget/Packages 和 http://nuget.infinitas.ws/Packages 抛出错误.
My NuGet feed is located at http://nuget.infinitas.ws. You'll notice that both http://nuget.infinitas.ws/nuget/Packages and http://nuget.infinitas.ws/Packages are throwing errors.
任何帮助,将不胜感激.
Any help with this will be greatly appreciated.
推荐答案
您可能正在Web站点项目中运行NuGet.Server.尝试改为通过ASP.NET Web应用程序运行它(在Visual Studio中,您可以通过文件->新建->项目-> ASP.NET Web应用程序创建一个)
You are probably running the NuGet.Server in a Web Site-project. Try to run it via an ASP.NET Web Application instead (in Visual Studio you can create one via File -> New -> Project -> ASP.NET Web Application)
这篇关于Nuget Server返回403和404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!