diff --git a/docs/docs/proxy_mode.rst b/docs/docs/proxy_mode.rst index f577d6426..1dcaa9ad2 100644 --- a/docs/docs/proxy_mode.rst +++ b/docs/docs/proxy_mode.rst @@ -125,3 +125,5 @@ Drawbacks Configuring a proxy means that all requests are intercepted, but the MotoProxy can only handle requests to AWS. If your test includes a call to `https://www.thirdpartyservice.com`, that will also be intercepted by `MotoProxy` - and subsequently throw an error because it doesn't know how to handle non-AWS requests. + +If your test setup supports the `NO_PROXY` environment variable, you could exclude `www.thirdpartyservice.com` from being proxied by setting `NO_PROXY=www.thirdpartyservice.com`. `NO_PROXY` accepts a comma separated list of domains, e.g. `NO_PROXY=.thirdpartyservice.com,api.anotherservice.com`.