Note you can also define a proxy for management traffic from your private location to the Checkly API where we ingest your telemetry and management events. See the environment variables available to the Checkly Agent container
Setting an HTTP proxy for your Private Location
We recommend storing the URL of your proxy in a global environment variable so you can easily reuse it in your Private Location configuration and checks. In the example below we store it asPROXY_URL

{{PROXY_URL}}
in the Private Location configuration.

Using an HTTP proxy
With the setup complete, any API check or uptime monitor which uses that Private Location will automatically inherit the proxy configuration for outgoing traffic.Using an HTTP proxy with Browser checks
You can enable your proxy directly in your browser checks via a few extra lines of code, using theprocess.env.PROXY_URL
notation and Playwright Test’s test.use()
method:
use-proxy.spec.ts