Nuget 如何禁用teamcity服务器url自动检测或手动修复服务器url?

Nuget 如何禁用teamcity服务器url自动检测或手动修复服务器url?,nuget,teamcity,Nuget,Teamcity,我已经默认设置了Teamcity实例。它在nginx后面,所以我将/WWW文件夹移动到/teamcity文件夹,并像这样设置nginx位置记录 location /teamcity { proxy_pass http://localhost:8111/teamcity; # and a couple of _sets here } 除了Nuget feed,其他一切都正常。我可以列出它的数据包,但我不能下载任何数据包,因为数据包的URL It looks like: 1. h

我已经默认设置了Teamcity实例。它在nginx后面,所以我将/WWW文件夹移动到/teamcity文件夹,并像这样设置nginx位置记录

location /teamcity {
  proxy_pass http://localhost:8111/teamcity;
  # and a couple of _sets here
}
除了Nuget feed,其他一切都正常。我可以列出它的数据包,但我不能下载任何数据包,因为数据包的URL

    It looks like:
 1. http://some.domain.com:443/teamcity/whatever/url/for/the/packet/(correct one)
    instead of:
 2. https://some.domain.com/teamcity/(correct URL)

第二个URL处的数据包是可访问的,但提要返回第一个。常规设置和main-config.xml中的URL也正确。这是因为URL自动检测,所以我可以禁用它吗?或者是因为另一个问题

服务器URL自动检测与此问题无关。如果指定了自定义URL,则将禁用自动检测

确保您传递了文档中指定的所有必要的头:

我想用proxyName和proxyPort参数扩展Tomcat server.xml config文件连接器。问题解决了。谢谢你。