Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 5ecae43

Browse files
authored
Merge pull request #2290 from splunk/repo-sync
Pulling refs/heads/main into main
2 parents a784169 + c26e832 commit 5ecae43

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

synthetics/test-config/private-locations.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,43 @@ For example, here is what a command might look like after you modify it to fit y
139139

140140

141141

142+
Configuring Proxy Settings for Private Locations
143+
===================================================
144+
145+
In environments where direct internet access is restricted, you can route synthetic test traffic through a proxy server by configuring the following environment variables:
146+
147+
* HTTP_PROXY: Specifies the proxy server for HTTP traffic.
148+
149+
* Example: export HTTP_PROXY="http://proxy.example.com:8080"
150+
151+
* HTTPS_PROXY: Specifies the proxy server for HTTPS traffic.
152+
153+
* Example: export HTTPS_PROXY="https://proxy.example.com:8443"
154+
155+
* NO_PROXY: Specifies a comma-separated list of domains or IP addresses that should bypass the proxy.
156+
157+
* Example: export NO_PROXY="localhost,127.0.0.1,.internal-domain.com"
158+
159+
For example, here is what a command might look like after you modify it to fit your environment:
160+
161+
162+
.. code:: yaml
163+
164+
docker run --cap-add NET_ADMIN -e "RUNNER_TOKEN=*****" quay.io/signalfx/splunk-synthetics-runner:latest -e NO_PROXY=".signalfx.com,.amazonaws.com" -e HTTPS_PROXY="https://172.17.0.1:1234" -e HTTP_PROXY="http://172.17.0.1:1234"
165+
166+
In this example:
167+
168+
HTTP_PROXY and HTTPS_PROXY are set to route traffic through a proxy at http://172.17.0.1:1234.
169+
170+
NO_PROXY is configured to bypass the proxy for local addresses and specific domains like .signalfx.com and .amazonaws.com.
171+
172+
Ensure that these variables are correctly configured to comply with your network policies. This setup allows the synthetic tests to communicate securely and efficiently in a controlled network environment.
173+
174+
175+
176+
177+
178+
142179

143180
Assess the health of your private location
144181
==============================================

0 commit comments

Comments
 (0)