Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guide iconUser guide
Developer guide iconDeveloper guide
Admin guide iconAdmin guide
English
  • Русский
  • English
Login
    Getting StartedAdministrator documentationFunctional characteristics
      Technology descriptionarrow
    • Architecture OverviewComponent Description
        Deployment schemesarrow
      • Basic schemeFail-safe schemeTypical Placement in Infrastructure
    System requirements
      Admin Panelarrow
      • Account areaarrow
        • Accountsarrow
        • Account UsersAccount Virtual SendersAccount Database Indexes
        TariffsExternal data configurationLDAPTasksSchedule JobsGlobal Stop ListsWebversion Store Policies
        Settingsarrow
      • Databases
          Accessarrow
        • AdminsAPI tokens
        Notifiers
          MTAarrow
        • Default rulesRetry rulesLock rulesBounce patternsStrategiesKeysISPsPools
      Nodes
        Sendersarrow
      • EmailSMSEvent generatorIntegration with SendsayENS: настройка сендера
        Reportsarrow
      • Audit JournalData Usage
        Toolsarrow
      • ARF decoderURL decoderSMID decoderLicense
      Platform installationarrow
    • Automatic installationManual installationRunning the platform in a Docker container
      Platform configurationarrow
    • Configuration fileDomain settingsLDAP access configurationSending Email via SMTP relayPixel and push domain configurationCluster and Replication SetupSystem notifications configurationProcesses UNIX sockets configurationHTTPS ConfigurationMigrating from MongoDB Community Edition to Percona Server for MongoDBAdding sender IP addressesDeduplication request settingsPostgreSQL database for account dataProxy server settingsKeycloak Integration with AltcraftGetting HTTP service statusesConfiguration MongoDB logs rotation
        Configuration of system constants and directoriesarrow
      • Filtering bot actionsDirectory of gender markers
      Platform maintenancearrow
    • Personnel requirementsPlatform maintenance processesPlatform updatingPlatform service monitoringBackup and recoveryTransferring the platform to a new serverCreating, deleting, and populating tables for statistics in ClickHouseUsage of the aktool utilityUsers and directories engaged by the platform
      Custom channels guidearrow
    • OverviewCreating and configuring a channelEntity field configurationTemplate languageEntities
        Pipesarrow
      • Pipe: Basic ConceptsResultErrorsLogPackUnpackHTTP RequestStore SetStore GetSelectorSQLEventerScheduler
        Pipelinesarrow
      • Pipeline: Basic ConceptsMessageScheduleListenerModerateStop
      Extraarrow
    • System page customizationSend Message IDИнструкция по миграции истории в ClickHouseInstructions for migrating history to ClickHouseUtility for importing push subscriptions to Firebase projectUtility for importing push subscriptions to Firebase project
    Processing HTTP/HTTPS traffic
      Administrator APIarrow
      • Accounts admin apiarrow
        • Restricted accessarrow
        • Account Activation and DeactivationAccount Freeze and Unfreeze
        Get accounts listAdd a new accountDelete the account
        Account usersarrow
      • Update an Existing AccountAdd a new accountDelete a userGet a list of usersSending a Welcome Email
        Nodesarrow
      • Synchronize node MTA configurationGet nodes listGet node MTA statusActivate node MTADeactivate node MTA
        Senders admin apiarrow
      • Create or update AKMTA senderGet AKMTA sender informationAssign account to senderGet senders listDelete senderRestore sender
          Sender queuearrow
        • Get sender queue informationHold sender queueRelease sender queueClear sender queue
        Virtual sendersarrow
      • Get virtual senders listGet virtual sender informationCreate virtual senderUpdate virtual senderClone virtual senderDelete virtual sender
    Documentation Archive
  • Platform configuration
  • Proxy server settings

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 - 2026 Altcraft, LLC. All rights reserved.