Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v74
  • v74
  • v73
  • v72
Login
  • Getting Started
  • Administrator documentation
  • Functional characteristics
  • Technology description
  • System requirements
  • Admin Panel
  • Platform installation
  • Platform configuration
    • Configuration file
    • Domain settings
    • LDAP access configuration
    • Sending Email via SMTP relay
    • Pixel and push domain configuration
    • Cluster and Replication Setup
    • System notifications configuration
    • Processes UNIX sockets configuration
    • HTTPS Configuration
    • External SQL database integration
    • Adding sender IP addresses
    • Deduplication request settings
    • PostgreSQL database for account data
    • Proxy server settings
    • Keycloak Integration with Altcraft
    • Getting HTTP service statuses
    • Configuration MongoDB logs rotation
    • Configuration of system constants and directories
  • Platform maintenance
  • Custom channels guide
  • Extra
  • Processing HTTP/HTTPS traffic
  • Administrator API
  • Platform configuration
  • Proxy server settings
Documentation for version v74

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.

ParameterDescription
HTTP_PROXYProxy server for http connections
PREVIEWS_PROXYProxy for previews and thumbnails
LICENSE_PROXYProxy server for http connections to the License Server
YM_PROMOCODES_PROXYProxy server for Yandex.Metrics
NET_GOOGLE_PROXYProxy server for Google Ads audiences
NET_FACEBOOK_PROXYProxy server for Facebook Ads Manager™*
NET_VK_ADS_PROXYProxy 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:

  1. Check if the address exists in INTERNAL_RESOURCES.
  2. Checking the parameter corresponding to the connection (e.g., PREVIEW_PROXY)
  3. If no parameter is specified, the value from the main parameter HTTP_PROXY is 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.

Last updated on Nov 2, 2024
Previous
PostgreSQL database for account data
Next
Keycloak Integration with Altcraft
  • Main proxy server parameters
  • Exceptions for proxy server
  • Example configuration
© 2015 - 2025 Altcraft, LLC. All rights reserved.