当前位置:网站首页>Set up proxy for chocolate

Set up proxy for chocolate

2022-06-10 16:58:00 Starx's

reason

Its own Source The speed of visiting China is extremely slow , And some package Of PS The script contains external URL ( Such as GitHub release), Not suitable for direct connection .

Method

By modifying the chocolatey Configuration file implementation .

route :C:\ProgramData\chocolatey\config\chocolatey.config

  
  
  
  
  
... <config>... <add key="proxy" value="http://127.0.0.1:1090" description="Explicit proxy location. Available in 0.9.9.9+." /> <add key="proxyUser" value="" description="Optional proxy user. Available in 0.9.9.9+." /> <add key="proxyPassword" value="" description="Optional proxy password. Encrypted. Available in 0.9.9.9+." />... </config>...
Code language: HTML, XML (xml)
Key name Key value description
proxyHTTP Agency address .[http://ip:port]
proxyUser User name when proxy authentication is enabled , Optional .
proxyPassword User password when enabling proxy authentication , Optional .

Save after editing .

原网站

版权声明
本文为[Starx's]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101601317372.html