<!-- Source: https://docs.squirro.com/en/latest/technical/admin/configuration/enable-proxy.html -->
# Enable Proxy Server for Outgoing Calls

Some Squirro Services need to access the Internet.

For example, the `sqdatasourced` service may need to access an internet data source to load data.

To set up a proxy, you can edit `/etc/squirro/common.ini` and add the proxy configuration as follows:

```bash
[proxy]
proxy = http://proxy.mycorp.com:8080
no_proxy = 127.0.0.1,localhost,127.0.0.1:81,localhost:81
```

This particular configuration will enable the indicated proxy for all requests, except any requests to the listed exceptions (localhost nodes in this case).

Reference: Learn more about [common.ini](config-files/common-ini.md#admin-common-ini).

> **Warning**
>
> All services will need to be restarted after any change of this configuration. You can use the `squirro_restart` command to restart the Squirro services.

## Options

| Option | Description |
| --- | --- |
| `proxy` | Proxy used for HTTP and HTTPS requests. |
| `http_proxy` | Proxy used for HTTP requests. Only used if `proxy` is not specified. |
| `https_proxy` | Proxy used for HTTPS requests. Only used if `proxy` is not specified. |
| `no_proxy` | Comma-separated list of hostname suffixed for which the proxy should not be consulted. This will usually contain data-centre domain names for which the proxy is either not needed or even a hinderance. |
