Proxy server settings
Main proxy server parameters
To configure the proxy, there are several parameters for different connections in the configuration file. If no proxy server address is specified for any of the connections, the platform will use the value from the HTTP_PROXY parameter. You can also set "noproxy" for any of the parameters, in which case the proxy will not be used for this connection.
| Parameter | Description |
|---|---|
| HTTP_PROXY | Proxy server for http connections |
| PREVIEWS_PROXY | Proxy for previews and thumbnails |
| LICENSE_PROXY | Proxy server for http connections to the License Server |
| YM_PROMOCODES_PROXY | Proxy server for Yandex.Metrics |
| NET_GOOGLE_PROXY | Proxy server for Google Ads audiences |
| NET_FACEBOOK_PROXY | Proxy server for Facebook Ads Manager™* |
| NET_VK_ADS_PROXY | Proxy for VK Ads |
Exceptions for proxy server
The platform may access the user's internal resources for some information (for example, data for templates or for API requests). If the user has a proxy server configured, it will not be possible to get data from the local address. For such situations, you can specify exception list in the configuration file. It is stored in the INTERNAL_RESOURCES object:
"INTERNAL_RESOURCES": [string]
Inside this object, you can list local addresses and domains that the proxy server will not process. The validation sequence for the proxy server in such a case would look like this:
- Check if the address exists in
INTERNAL_RESOURCES. - Checking the parameter corresponding to the connection (e.g.,
PREVIEW_PROXY) - If no parameter is specified, the value from the main parameter
HTTP_PROXYis used.
Example configuration
"HTTP_PROXY":"http://proxy.example.ru:3128",
"PREVIEWS_PROXY":"http://proxy.example.ru:3117",
"YM_PROMOCODES_PROXY":"noproxy",
"LICENSE_PROXY":"http://proxy.example.ru:3089",
"NET_GOOGLE_PROXY":"noproxy",
"NET_FACEBOOK_PROXY":"noproxy",
"NET_VK_ADS_PROXY":"noproxy",
"INTERNAL_RESOURCES": ["10.10.10.10", "internal.lan"]
*The Meta organization, which owns Instagram, Facebook and WhatsApp products, has been declared as extremist and banned in Russia.