Change web publishing settings
The web server configuration will be updated after the information base web publishing settings are changed.This may result in increased web server response time and interruption of all sessions through the web client for all information bases in the 1C server cluster where the information base being updated resides.
We recommend scheduling jobs during times of minimal cluster utilization and using session locking for linked information bases.
To make it possible to connect to the information base via the Internet, a web publication is created for it — the information base is published on a web server.
In the ready-made 1C cloud, web publications for information databases are created automatically using the Apache web server. When creating a web publication, two files with default settings are automatically generated — conf-file
with web server settings and default.vrd
file with the publication description for the web server extension module of the 1C:Enterprise 8 platform.
You can change the default.vrd file in the control panel. If after changing the file, errors appear when connecting to the database via the Internet, you can restore the default file.
Conf
-file cannot be changed.
Modify the default.vrd file
-
In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
-
Open the Information Base page → Web Publishing tab.
-
Make the necessary changes to the contents of the file in XML-format. For more information about the file structure, see the 1C documentation.
Some fields in the file ensure that web publishing works on the 1C Ready Cloud servers. Changes in these fields will not be saved:
.point@ib
field;- field
.point@base
— parametersSrvr
(server address) andRef
(information base name).
-
Click Edit File.
-
Confirm the change.
-
Optional: check that there are no errors in the new web publishing settings. To do this, connect to the information base via the web client. If an error occurs when connecting, check the changes you made in step 4 or restore the default.vrd file to default.
Restore the default.vrd file to its default state
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the information base page.
- Open the Web Publishing tab.
- Click Restore Default File.
- Confirm the recovery.