Views: 188
Last Modified: 24.05.2024

Single server for several sites

Site with the defined Transformer role can convert items for both its own purposes and third-party sites.

For site querying the server (e. g. sites with the Transformer role) for converting the files, server environment isn't important as much: it can be both VMBitrix and any other hosting. Only the available installed "File converter" (transformer) module version 20.100.0 and above is required.

For example, a site vm1.local with Bitrix24 Enterprise and configured Transformer role. You need to connect the site vm2.local in a manner for item conversion to be performed on the site vm1.local.

Server configuration

You need to indicate the connected site URL inside the field Process conversion requests only from these URLs (comma separated; leave empty to skip URL check): vm2.local and save the settings for the site having Transformer role (example: vm1.local), File conversion server module (Settings – System settings – Module settings – File conversion server):

Client site configuration

You need to specify the following parameters at the connected site (the example site vm2.local), inside File converter module settings (Settings – System settings – Module settings – File converter):

  • Specify file conversion site URL inside the path File convert API URL: http://vm1.local/bitrix/tools/transformercontroller/add_queue.php
  • Specify current site URL: http://vm2.local inside the Website public address field.

And save the settings.

Finally, you can connect several sites at once to a single file conversion server.



0


Courses developed by Bitrix24