How to send request to external URL(Myget/Nuget) via proxy and restrict usage of proxy for internal URL(Orchestrator feed)

How to send request to external URL(Myget/Nuget) via proxy and restrict usage of proxy for internal URL(Orchestrator feed)

  • In case proxy is required to access the external website. However, internal website should not use any proxy, it can be configured the below way in nuget.config/proxy.config file based on the Orchestraor version.

(nuget.config file can be found in C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet location. proxy.config file can be found inside the installation folder of Robot)

<configuration>

<config>

<add key="http_proxy" value="proxy ip:port" />

<add key="no_proxy" value="https://orchestratorAddress" />

</config>

</configuration>

  • Once the changes are saved, robot service needs to be restarted.