Identifying Code Insight Instances Not to Be Accessed Through the Proxy
If you have configured proxy support for an instance on which a Code Insight Scan Server resides, you can define an additional property on that instance to specify any instances (hosts) that the Scan Server should access directly—that is, not through the proxy. Use the following steps to configure this property on each instance hosting a Scan Server.
To identify non-proxy instances to the Scan Server, do the following:
- Navigate to the
tomcat/conffolder on the instance. This folder resides within the directory where CodeInsight is installed. - Open c
atalina.propertiesin a text editor. - Add the following property to the file content:
http.nonProxyHosts=<hostName>
-
For <hostName>, specify the hostname for each instance that the Scan Server should access directly without going through the proxy. To pass multiple hostnames, separate each hostname by the pipe (|) character. Additionally, you can use the wildcard character (*) for pattern-matching as needed.
-
The following shows a possible format for the
nonProxyHostsproperty value:
http.nonProxyHosts=<hostName1|hostName2|*.hostName>
- The following shows an example property that applies the above format:
http.nonProxyHosts=``MyMachine1|MyMachine2|*.ExtraScanServerMachine